I have created a GTM container, added tags under it and published.
its in debug mod and I can see datalayer
but for tags, says there are not tags in container
even though tags are there in container rules and tags
so question is, can I test gtm account on local machine even domain url of gtm is live.
if yes then why tags are not showing? does Google take time in publishing tags?
I tried google chrome plugin but it only shows basic info,
I want to work it like if I click on a product or do a purchase locally, it should update data for account remotely, is it possible?
Google Tag Manager can be easily tested on your local machine (no need for a Chrome extension), similar to how you would Preview your changes on a public website/app:
<!-- Google Tag Manager -->
script to the <head>
of your webpage(s).<!-- Google Tag Manager (noscript) -->
to the <body>
of your webpage(s) (optional).Start a local web server to run your app - this method will vary depending on your local setup but you should be able to access your app using a local URL like localhost:8088/
.
NOTE: Opening a file path (e.g. file:///Users/your-name/Documents/
) in your browser WILL NOT work.
localhost:8088
.