- Issue created by @gawalin
- 🇦🇹Austria gr4phic3r
i use GTM and G ID-numbers, i added both in the google tag module, analytics also not working. i don´t know why it doesn´t get the data. i set up everything correctly in GTM, verified it with the preview in google tag manager and everything was working and still don´t get any data in analytics
- 🇨🇦Canada joelpittet Vancouver
@mp I think I'm experiencing the same as you, though I am not sure it's the same problem as the OP because I reverted to 2.0.2 and it works, but 2.0.4 does not. Maybe you can try reverting to see if that helps you?
- 🇨🇦Canada minoroffense Ottawa, Canada
We have a pair of clients now where it just stops working. You can see the tracking code for a few requests then it’s gone. There’s something wrong. At a certain point there’s just no js added at all. No settings nothing.
Going to test a downgrade and see if that helps. And then compare versions to see what changed.
- 🇺🇸United States mihaic
Please see this issue maybe it is related to why you are not seeing data in analytics:
https://www.drupal.org/project/google_tag/issues/3424623 🐛 "Enforce Privacy Consent Policy" checkbox default value is checked even when it is disabled RTBC - 🇪🇸Spain Joseminosa
Consent mode must be configured.
Google Tag Manager must be granted analytics_storage consent.https://support.google.com/tagmanager/answer/10718549?hl=es
https://developers.google.com/tag-platform/security/guides/consent?hl=es...
The data isn't flowing for one of my multi-sites. I can see the tag on every page when viewing the source code. Also, when using the "test your website" feature in Google Analytics, it shows a successful connection.
Update:
Update: My coworker Tom discovered that in my case, it's actually the content policy checkbox isn't working correctly. He got it working by using config export/import for Google Tag. This is the specific issue. https://www.drupal.org/project/google_tag/issues/3424623 🐛 "Enforce Privacy Consent Policy" checkbox default value is checked even when it is disabled RTBC
- 🇦🇷Argentina diego.sabolo@gmail.com
I've experienced that after the update, to fix it, what I did, is to enable each content type into the container configuration to get it working again.
IMO, this should work in the opposite mode, by default all content types should print the gtm tag, and only use the config to exclude the ones we want to not use gtm. - First commit to issue fork.
- 🇺🇸United States pcate
I've experienced that after the update, to fix it, what I did, is to enable each content type into the container configuration to get it working again.
IMO, this should work in the opposite mode, by default all content types should print the gtm tag, and only use the config to exclude the ones we want to not use gtm.Thank you @Diego Sabolo!!! We were banging our heads trying to get this to work and this was the solution. I completely agree that the default should be to add to all content types and any checked content types should then be excluded.
The consent policy form bug has been fixed in the main branch: 🐛 "Enforce Privacy Consent Policy" checkbox default value is checked even when it is disabled RTBC .