Closed (fixed)
Project:
Cookiebot + GTM
Version:
1.0.15
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Apr 2023 at 20:46 UTC
Updated:
13 Oct 2023 at 12:04 UTC
Jump to comment: Most recent
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.