Commit bb1d00c8 authored by Ricardo J. Mendez's avatar Ricardo J. Mendez

Trivial analytics integration

parent ad3aad95
......@@ -20,6 +20,10 @@
<link href="" rel="stylesheet">
<link href=',700,300' rel='stylesheet' type='text/css'>
<link href="pe-icon-7-stroke.css" rel="stylesheet"/>
<!-- Google Analytics -->
<script type="text/javascript" src="init-analytics.js"></script>
<!-- End Google Analytics -->
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
ga('create', 'UA-6610761-4', 'auto');
ga('set', 'appName','Relevance-WebApp');
ga('set', 'checkProtocolTask', function(){});
ga('send', 'screenview', {screenName: "intro"});
......@@ -30,5 +30,6 @@
"js": ["content.js"]
"content_security_policy": "script-src 'self'; object-src 'self'",
"manifest_version": 2
\ No newline at end of file
......@@ -58,6 +58,7 @@
(fn [app-state [_ path item]]
(js/ga "send" "screenview" #js {:screenName (name item)})
(assoc-in app-state path item)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment