How can I check google tag manager locally

I created a GTM container, added tags for it, and published.

its in debug mode and i can see the data layer

but for tags says there are no tags in the container

although tags are in container rules and tags

the question is can I check the gtm account on the local machine even if the gtm domain URL is live.

if so, why are the tags not showing? Does Google spend time posting tags?

I tried the Google Chrome plugin, but it shows only basic information,

I want to work as if I clicked on a product or made a purchase locally, it must update the data for the account remotely, is this possible?

+9
source share
1 answer

There is no need to do something else in local development to test this.

Just turn on the debug / preview mode on the GTM panel, then in the same browser you will get access to your website, and a console window will appear at the bottom of the page where you can see important information about tags.

There is also a Google Chrome extension called Tag Assistant , which you can use to debug tags from a loaded page.

I know that this is not a good practice, but there are many ways to make sure that the tags work fine via this link .

0
source

Source: https://habr.com/ru/post/1206327/


All Articles