mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-25 03:25:03 +01:00
Optimized Cross-Domain Tracking
This commit is contained in:
parent
747614af64
commit
4b008750dd
@ -1,4 +1,5 @@
|
||||
var _paq = window._paq = window._paq || [];
|
||||
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
|
||||
_paq.push(["setCookieDomain", "*.{{base_domain}}"]);
|
||||
_paq.push(["setDomains", ["*.{{base_domain}}"]]);
|
||||
_paq.push(["enableCrossDomainLinking"]);
|
||||
@ -11,4 +12,4 @@ _paq.push(["enableLinkTracking"]);
|
||||
_paq.push(["setSiteId", "{{matomo_site_id}}"]);
|
||||
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0];
|
||||
g.async=true; g.src=u+"matomo.js"; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user