we implemented piwik with google tag manager, but i get now in actual crome and firefox, when checking the console error about ‘‘Uncaught ReferenceError: gtag in not define’’
please see the the screenshot from crome und firefox, please let me know how I can solve this
This looks like its not related directly to Piwik PRO Tag Manager itself but rather what is added inside of it.
Gtag not defined errors are usually related to Google Consent Mode implementation (or other Google products). Am I correct to assume you have tried installing the GCM integration?
The 1st step explains how to add the default consent settings. These are not required but it’s highly recommended to add them. In case you don’t want to add the defaults, you can also add this piece of code at the beginning of your tag (or the one from our guide):