Skip to content

custom server side domain name for the Google Tag Manager#87

Open
Kahore wants to merge 1 commit into
alinemorelli:masterfrom
Kahore:feature/custom_src
Open

custom server side domain name for the Google Tag Manager#87
Kahore wants to merge 1 commit into
alinemorelli:masterfrom
Kahore:feature/custom_src

Conversation

@Kahore
Copy link
Copy Markdown

@Kahore Kahore commented Apr 27, 2021

We can change server side domain name for the Google Tag Manager to circumvent adblockers. So the new tracking server is located at some custom domain.

Background to above: when adblockers or browsers see googletagmanager.com (or other domains or code refering to tracking, they will block it). Having custom domain means that no blockers will match on this url and it will approvedpproved.

…ircumvent adblockers. So the new tracking server is located at some custom domain.

Background to above: when adblockers or browsers see googletagmanager.com (or other domains or code refering to tracking, they will block it). Having custom domain means that no blockers will match on this url and it will approved.
@Kahore Kahore changed the title We can change server side domain name for the Google Tag Manager to c… custom server side domain name for the Google Tag Manager Apr 27, 2021
@olso
Copy link
Copy Markdown

olso commented Jul 3, 2021

+1

@Ivkaa
Copy link
Copy Markdown

Ivkaa commented Jul 11, 2021

Also transport_url option would be great to add because of the new google server side proxy feature.
Nevertheless +1 here.

@baneetdebutify
Copy link
Copy Markdown

@alinemorelli any timeline to merge this change. Its been while since google had added option for server side GTM.

@iamgbayer
Copy link
Copy Markdown

@alinemorelli could you merge this? It would help a lot

@vasiliykr
Copy link
Copy Markdown

@alinemorelli I also faced the problem with the server-based tagging and need this functionality. How can I help you to merge this PR?

@darjama
Copy link
Copy Markdown

darjama commented Jun 24, 2022

I needed to get a solution working quickly, so I created a fork that allows you to customize the url:
https://github.com/darjama/react-gtm-custom-domain
https://www.npmjs.com/package/react-gtm-module-custom-domain

@Twansparant
Copy link
Copy Markdown

Yeah I need this too now, thanks @darjama for your fork!

@RomanHumeniuk
Copy link
Copy Markdown

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants