Google Tag Manager set up problem!

Posted in: Newspaper
Post count: 26

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

Post count: 27744

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!

Post count: 26

Hi Anamaria,
now it is working. I did’t change any config. It didn’t work all morning…
Thanks anyway.
Max

Post count: 26

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

Post count: 27744
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.