Hi all,
I’m trying to set up Google Tag manager by putting the code on both HEADER SCRIPT CODE (and AFTER BODY SCRIPT CODE) sections of theme panel. I’m getting the code from Google Tag Manager site so I’m not manipulating the scripts at all.
The problem I’m facing is that once I click on SAVE SETTINGS, the configurations are not saved! Indeed, if I reload the theme panel page i still see the old configurations.
Setting only the AFTER BODY SCRIPT CODE works fine but I need to set up the HEADER SCRIPT CODE as well.
If I try to paste any other script in HEADER SCRIPT CODE section, it is saved successfully! My guess is that the procedure fails when saving (maybe due to character escaping problem).
Do you have experienced something like that?
Thanks,
Max
Hello,
The settings are not saved, so this means something blocks the request to save the settings.
Please open the console and try to save something.
I think will you have an 403 or 404 error, so please check this topic -> https://forum.tagdiv.com/topic/newspaper-theme-panel-settings-are-not-being-saved/ and try the suggestions. Also, please check the cache, clear/purge all cache.
Thank you!
I have another doubt; I configured Google Tag Manager properly and I’m using the following GOOGLE ANALYTICS events (on a Button for example) to push data on GA4
– GA Event Action
– GA Event Category
– GA Event Label
BUT, these events are not arriving on Google Analytics platform (if I’m not wrong).
Is it possible that those events are not “compatible” with Google Tag Manager scripts but they are with GA4 code (gtag.js)? If so, is there a way to fire those events to Google Tag Manager? Any suggestion?
Thanks,
Max
Hello,
Normally it should work without problems. you can also check these guides
-> https://zozimus.com/how-to-track-a-button-click-event-in-google-analytics-using-google-tag-manager/
-> https://back2marketingschool.com/google-analytics-track-button-clicks/
Thank you!