Problem/Motivation
May be useful to add the option to select GTM server side mode.
In the configuration form should be the filed to store custom url.
Thank you
May be useful to add the option to select GTM server side mode.
In the configuration form should be the filed to store custom url.
Thank you
Comments
Comment #2
batigolixWould be great if you could elaborate a bit more on this.
Comment #3
trickfun commentedHi batigolix,
Problem/Motivation
Google Tag Manager now offers the ability to host your own server-side instances. This helps with some third-party vs first-party cookie concerns.
In its current state, the module only supports GTM hosted at www.googletagmanager.com.
Proposed resolution
Add a gtm_hostname property in the configuration form and initialize the default value to www.googletagmanager.com.
gtm_hostname override default value into the code.
see https://www.drupal.org/project/google_tag/issues/3241123
thank you
Comment #4
batigolixComment #5
batigolixComment #7
roaldnel commentedI have added a new custom field to the configuration form so users can now set custom URLs for the google tag manager server. The code was released in version 1.0.15.