Commit b8cd6f9a authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Update piwik template

parent bf76df22
<!-- Piwik -->
:javascript :javascript
var _paq = _paq || []; var _paq = _paq || [];
_paq.push(["trackPageView"]); _paq.push(['trackPageView']);
_paq.push(["enableLinkTracking"]); _paq.push(['enableLinkTracking']);
(function() { (function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://#{extra_config.piwik_url}/"; var u="//#{extra_config.piwik_url}/";
_paq.push(["setTrackerUrl", u+"piwik.php"]); _paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(["setSiteId", "#{extra_config.piwik_site_id}"]); _paq.push(['setSiteId', #{extra_config.piwik_site_id}]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})(); })();
<noscript><p><img src="//#{extra_config.piwik_url}/piwik.php?idsite=#{extra_config.piwik_site_id}" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
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