Commit bdd6a005689e3aa7b4a0408fcf65d6bbc28c8e3b

Authored by Evandro Junior
1 parent d191036c

reactivating piwik

Showing 1 changed file with 22 additions and 1 deletions   Show diff stats
src/index.html
... ... @@ -8,7 +8,7 @@
8 8 <base href="/">
9 9 <meta name="viewport" content="width=device-width">
10 10 <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
11   -
  11 +
12 12 <!-- OpenGraph -->
13 13 <meta property="og:title" content="Dialoga Brasil">
14 14 <meta property="og:description" content="O País fica melhor quando você participa">
... ... @@ -26,6 +26,27 @@
26 26 <!-- endinject -->
27 27 <!-- endbuild -->
28 28  
  29 +
  30 + <!-- Piwik -->
  31 + <script type="text/javascript">
  32 + // Don't compute statics from wrong environments
  33 + if(window.location.host.search('dialoga.gov.br') == 0){
  34 + var _paq = _paq || [];
  35 + _paq.push(['trackPageView']);
  36 + _paq.push(['enableLinkTracking']);
  37 + (function() {
  38 + var u="//estatisticas.dialoga.gov.br/";
  39 + _paq.push(['setTrackerUrl', u+'piwik.php']);
  40 + _paq.push(['setSiteId', 65]);
  41 + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  42 + g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  43 + })();
  44 + }
  45 + </script>
  46 + <noscript><p><img src="//estatisticas.dialoga.gov.br/piwik.php?idsite=65" style="border:0;" alt="" /></p></noscript>
  47 + <!-- End Piwik Code -->
  48 +
  49 +
29 50 <!-- Google reCaptcha -->
30 51 <script src="https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit" async defer></script>
31 52 </head>
... ...