Support of debug + preview mode
Closed this issue · 2 comments
Google tag manager support debug + preview mode, but seems like this plugin rewrite all query params on a script.
It append https://www.googletagmanager.com/gtm.js?id=GTM-CONTAINER
but we are expecting to append this
https://www.googletagmanager.com/gtm.js?id=GTM-CONTAINER>m_debug=x>m_auth=token>m_preview=env-4
First of all, can you please stick to the "reporting a bug"-template?
But did you try the "Extended URL parameter (optional/expert)" configuration option?
Add your extending GTM-URL parameter for test/stage environments here. These will be added to the googetagmanger.com URL. e.g.
>m_auth=sOmeR4nd0mh45h>m_preview=env-69>m_cookies_win=x
@dmfilipenko I assume this issue is resolved, so I close it.