Pull in the external piwik.js manually
This commit is contained in:
parent
a7e66e4600
commit
005e373043
5 changed files with 7 additions and 8 deletions
|
@ -4,10 +4,5 @@ var _paq = _paq || [];
|
|||
// tracker methods like "setCustomDimension" should be called before "trackPageView"
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="https://analytics.jmb.lv/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
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);
|
||||
})();
|
||||
_paq.push(['setTrackerUrl', 'https://analytics.jmb.lv/piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue