We will be moving authentication from Clarin to MyAccessID in the next few days. Accounts should mostly stay the same, if the IdP provides the same email address. Please contact support@hpc.ut.ee, if you have any issues with logging in.

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

add piwik tracking code

parent b0dbe74d
Loading
Loading
Loading
Loading
+17 −0
Changes for code/panuView.html: 17 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -5,6 +5,23 @@
    <link rel="stylesheet" type="text/css" href="./style.css">
    <link rel="icon" type="image/png" href="/images/murakas.ico" sizes="96x96">
    <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>
  <body>
    <div id="murakas">
+2 −3
Changes for package.json: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  "name": "Panustaja",
  "description": "Ressursikataloogi upitamiseks keeleressurside Entu repositooriumisse.",
  "version": "1.0.1-d",
  "build": 102,
  "build": 103,
  "main": "./code/app.js",
  "license": "CC-SA",
  "private": true,
@@ -16,6 +16,5 @@
    "object-path": "^0.9.2",
    "request": "^2.65.0"
  },
  "devDependencies": {
  }
  "devDependencies": {}
}