webmatch/WbmTagManagerEcomm

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&gtm_debug=x&gtm_auth=token&gtm_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.
&gtm_auth=sOmeR4nd0mh45h&gtm_preview=env-69&gtm_cookies_win=x

@dmfilipenko I assume this issue is resolved, so I close it.