Relative Content

Tag Archive for google-tag-manager

Can I hide API key in GTM tags?

I want to use a GTM tag to fire an event call API to another third-party platform. API needs a private key for authorization.

GTM custom templates variable ignores fileds

I’m creating a GTM custom variable template to replace custom js variables with it – to be able to run analytics on more strict CSP. I need my template’s code to use other variables – both dataLayer and GTM built-in ones – to build it’s value.

GTM custom templates variable ignores fileds

I’m creating a GTM custom variable template to replace custom js variables with it – to be able to run analytics on more strict CSP. I need my template’s code to use other variables – both dataLayer and GTM built-in ones – to build it’s value.

google tag manager switching tabs stuck on white screen

After installing google tag manager in my website, open the website in the browser, for example: abc.com, and then switch to other browser tab page, wait for the tab of abc.com to enter the sleep period, and then go back to the page of abc.com again, you will find that the page is stuck, and it is useless to refresh, you can only open a new one! After a day’s test, it is because of the Google tag manager, have you encountered similar problems?

GTM previous Event Data Layer take along

I track the data layer information of a product for the event “add_to_cart” on the next step “begin_checkout” I have no readable data layer.
Is there a way to take the information/variables from the previous event/data layer to the next one?