Toshaan Bharvani
5 years ago
1 changed files with 21 additions and 10 deletions
@ -1,16 +1,27 @@ |
|||||||
<!-- Begin Piwik Code --> |
<!-- Begin Matomo Code --> |
||||||
<script type="text/javascript"> |
<script type="text/javascript"> |
||||||
var _paq = _paq || []; |
var _paq = window._paq || []; |
||||||
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]); |
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]); |
||||||
|
_paq.push(['setDoNotTrack', false]); |
||||||
_paq.push(['trackPageView']); |
_paq.push(['trackPageView']); |
||||||
_paq.push(['enableLinkTracking']); |
_paq.push(['enableLinkTracking']); |
||||||
|
_paq.push(['enableHeartBeatTimer', 5]); |
||||||
|
_paq.push(['setLinkTrackingTimer', 25]); |
||||||
(function() { |
(function() { |
||||||
var u="{{ .Site.Params.analytics.piwik.URL }}/"; |
var u="https://{{ .Site.Params.analytics.piwik.URI }}/"; |
||||||
_paq.push(['setTrackerUrl', u+'piwik.php']); |
_paq.push(['setTrackerUrl', u+'matomo.php']); |
||||||
_paq.push(['setSiteId', {{ .Site.Params.analytics.piwik.ID }}]); |
_paq.push(['setSiteId', '{{ .Site.Params.analytics.piwik.ID }}']); |
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
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); |
g.type='text/javascript'; |
||||||
|
g.async=true; |
||||||
|
g.defer=true; |
||||||
|
g.src=u+'matomo.js'; |
||||||
|
s.parentNode.insertBefore(g,s); |
||||||
})(); |
})(); |
||||||
</script> |
</script> |
||||||
<noscript><p><img src="{{ .Site.Params.analytics.piwik.URL }}/piwik.php?idsite={{ .Site.Params.analytics.piwik.ID }}" style="border:0;" alt="" /></p></noscript> |
<noscript> |
||||||
<!-- End Piwik Code --> |
<p> |
||||||
|
<img src="https://{{ .Site.Params.analytics.piwik.URI }}/matomo.php?idsite={{ .Site.Params.analytics.piwik.ID }}&rec=1" style="border:0;" alt="" /> |
||||||
|
</p> |
||||||
|
</noscript> |
||||||
|
<!-- End Matomo Code --> |
||||||
|
Loading…
Reference in new issue