Mercury Forever Posted July 6, 2023 Posted July 6, 2023 (edited) Hello Community, I just enabled the integration with Google Tag Manager (two days ago); but it is not reflected in the html code of my site (see source code), I only have the codes of Google Analytics, but not yet those of Google Tag Manager. This is my configuration: And when viewing the source code: Regards. Edited July 6, 2023 by Mercury Forever
Jim M Posted July 6, 2023 Posted July 6, 2023 6 minutes ago, Mercury Forever said: And when viewing the source code: Regards. This looks to be Google Analytics, check ACP -> System -> Integrations -> Google Analytics.
Mercury Forever Posted July 6, 2023 Author Posted July 6, 2023 It is correct, Google Analytics, what I am showing is that the Google Tag Manager code does not load,
aceamericanwx Posted July 7, 2023 Posted July 7, 2023 I believe I am having the same issue. I have input my Google Tag Manager scripts in the integrations but don't see it in my source code. Any ideas where I should go from here? Mercury Forever 1
Marc Posted July 7, 2023 Posted July 7, 2023 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. Mercury Forever 1
Solution Marshall Slemp Posted July 7, 2023 Solution Posted July 7, 2023 Could you kindly check your globalTemplate file to confirm that it has the below code snippet included somewhere within the head section? {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}} {setting="googletag_head_code"} {{endif}} SeNioR- and aceamericanwx 2
Mercury Forever Posted July 7, 2023 Author Posted July 7, 2023 Hi @Marshall Slemp I already identified where ... the code indicated if it exists.
Mercury Forever Posted July 7, 2023 Author Posted July 7, 2023 I identified the problem, I had a personalized globaltemplate that did not have the indicated code, I added it and now if you are reflected. Thanks for the orientation. Daniel F 1
aceamericanwx Posted July 13, 2023 Posted July 13, 2023 On 7/7/2023 at 11:44 AM, Marshall Slemp said: Could you kindly check your globalTemplate file to confirm that it has the below code snippet included somewhere within the head section? {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}} {setting="googletag_head_code"} {{endif}} Worked for me as well, thank you! Marc 1
Recommended Posts