We have configured the tags in the Tag Manager of Piwik Pro and we have also configured the cookies with One Trust, now we want to test to make sure that the tags activate the corresponding cookies according to the users choice.
But, we have encountered a problem and it is that when testing the tags the Debug is not activated (the popup window does not open in which we can do the action and register the tag that is activated), we have two web environments one Pre (to do all the tests) and another Pro (web in production), we are currently using the Pre.
Can it be that the debug is not activated because to make the tag tests it has to be in the web environment in production?
We really appreciate your help with the resolution of this doubt.
If the code isn’t loaded before consent, you won’t able to open the debugger. Most tags are triggering request to external resources - you can check them in browser’s console without using tag manager debugger.
Thank you for your response,
We have updated the web code so that the Piwik pro code is activated first, but still the Debbug is not activated.
Is it something to do with testing in a pre web environment?
Now i am verifying the tags, but they are not activated and do not appear in the debug overview, i have verified the tags configuration but i have followed the instructions of Piwik Pro, do you know what could be happening? @kuba
Please share your current configuration for this website. What tags are defined there? In general, if tag is created within the UI, it should be available right away in the debug mode. Are you sure that your comparing same websites?
Hello @kuba
the problem is that I have some events configured through google tag manager (trigger: Datalayer event) and when I’m testing with the debug the tags are not activated (see images in attachments)
I have configured the tags using Piwik’s tag manager following the instructions and the triggers are of the datalayer event type.
Checking in the console I only see this error:
We had made all the changes and tested in the previous environment of our website and the debugging was working as we had added the One Trust code after the Piwik Pro code, but now when we moved it to the production environment the debugging is not working, we have checked the code and it is identical in both environments as it was before (and it was working), we have accepted the cookies because the tags need approval to be activated.
But we do not understand what could be happening because when we see in the analytics reports if data is being collected but the debbug is not activated in production to finish checking that the tags configured in the Tag Manager are also activating in production correctly.
Does it have to do with the fact that we have to republish the tags in the tag manager so that the debbug can be activated in the production environment? Do you know what could be the cause?
Hi. No, you don’t have to publish tags to be able to open the debug mode. Without direct access to the website it will be hard to guess what’s the problem here.