I’m new to Piwik and I’m trying to set it up for my site to test its features. So far I’v liked it so much, as it seems quite simple to use.
On the other hand I’ve run into a problem, that I have no idea how to solve:
My site runs on three different subdomains:
- secure.yyyy.com (runs on https, please notice it is a different domain yyyy, not xxxx)
<script type='text/javascrtip' src='http://www.xxxx.com/js/patch.js></script>
According browser console it seems that now, when I load a page in any of those subdomains, both piwik_analytics.js and the piwik.js file in the piwik server are loaded. In fact I added a console.log line in the piwik.js file and the log appears, so it’s being executed.
Despite of that, I can’t find any entries in the piwik reports related to those subdomains, other than referals.
After the piwik.js is being loaded, I also see in the browser console this call is being made (i have replaced the URL for privacy, but instead of that “http%3A%2F%2Fother.xxxx.com” there was a long URL in the other.xxxx.com domain, apparently URLEncoded)
I know properly adding the code in the HTML code of the site would be the best way to do it, but that would mean it would have to be added to next sprint in our provider pipeline and I won’t be able to test until 2-3 weeks have passed.