I added tracking code on my page. I copied the code snippet (Basic container async) from ‘Installation’ tab in Piwik.pro. There is no data, though.
I checked Network tab in my Browser and the GET request
https://…piwik.pro/containers/[id].js shows 404 as the container didn’t exist.
Id in the URL is the same as in the Piwik Installation.
Thank you @maciej for your reply.
yes, I already checked:
the domain and the (…).piwik.pro is the same in our Piwik and the request;
the container ID from Settings in Piwik of my website is also the same as the paramater in the request.
I have only one website in Piwik and I copied the ‘Basic container (async)’ from Piwik without any changes.
I could not place the tracking code directly after opening tag, but it is in ‘body’ with all other tags.
Also when I try opening ‘https://…piwik.pro/containers/[id].js’ in the browser’s tab I also receive 404, although it’s the same browser where I am logged in Piwik.pro
Can’t think of any other obvious check. We will need the URL of the website with the installed snippet, or at least the URL to the container that is returning the 404 error.
Have you tried to publish the container in the Tag Manager settings? Maybe there was some issue with it during the installation. That could explain the 404.
Hello @kuba , after your hints I checked again, and indeed the Tag had not been published before. I published it and the Request goes through (with 200) and the data is visible in Piwik.
Thank you @maciej and @kuba for your help!