matomo is running but can’t find out where/how I integrated it
-
Sorry for a really stupid question!
I have integrated matomo analytics into my wordpress site long time ago and it works.
I can see the script just before the closing head tag in the html source.<script type="text/javascript"> var _paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(["setCookieDomain", "*.mysite.com"]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://matomo.mysite.com/piwik/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '12']); 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+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script>
But I cannot find it in my header.php of my child theme nor in the parent theme.
So actually I forgot how I’ve implemented it and, shame on me, I did not any documentation for myself.
Even when I egrep all of the files of my site with keywords like ‘matomo’ or ‘trackPageView’ or any other found in the script I do not get any results.
I also do not use an tag manager.
I want to remove matomo tracking, I need to find out, where/how I have integrated it.
Any idea for me stupid? :-/
- The topic ‘matomo is running but can’t find out where/how I integrated it’ is closed to new replies.