Commit 5ce7e060 authored by Mihkel Putrinš's avatar Mihkel Putrinš

add piwik tracking code

parent b0dbe74d
...@@ -5,6 +5,23 @@ ...@@ -5,6 +5,23 @@
<link rel="stylesheet" type="text/css" href="./style.css"> <link rel="stylesheet" type="text/css" href="./style.css">
<link rel="icon" type="image/png" href="/images/murakas.ico" sizes="96x96"> <link rel="icon" type="image/png" href="/images/murakas.ico" sizes="96x96">
<link rel="shortcut icon" href="/images/murakas.ico"> <link rel="shortcut icon" href="/images/murakas.ico">
<!-- Piwik -->
<script type="text/javascript">
console.log('piwik start')
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://piwik.keeleressursid.ee/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 6]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
console.log('piwik end')
</script>
<noscript><p><img src="https://piwik.keeleressursid.ee/piwik.php?idsite=6" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
</head> </head>
<body> <body>
<div id="murakas"> <div id="murakas">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "Panustaja", "name": "Panustaja",
"description": "Ressursikataloogi upitamiseks keeleressurside Entu repositooriumisse.", "description": "Ressursikataloogi upitamiseks keeleressurside Entu repositooriumisse.",
"version": "1.0.1-d", "version": "1.0.1-d",
"build": 102, "build": 103,
"main": "./code/app.js", "main": "./code/app.js",
"license": "CC-SA", "license": "CC-SA",
"private": true, "private": true,
...@@ -16,6 +16,5 @@ ...@@ -16,6 +16,5 @@
"object-path": "^0.9.2", "object-path": "^0.9.2",
"request": "^2.65.0" "request": "^2.65.0"
}, },
"devDependencies": { "devDependencies": {}
}
} }
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