alinemorelli / react-gtm

React Google Tag Manager
MIT License
658 stars 140 forks source link

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

Open Kahore opened 3 years ago

Kahore commented 3 years ago

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.

olso commented 3 years ago

+1

Ivkaa commented 3 years ago

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

baneetdebutify commented 3 years ago

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

iamgbayer commented 3 years ago

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

vasiliykr commented 2 years ago

@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 commented 2 years ago

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 commented 10 months ago

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

RomanHumeniuk commented 7 months ago

+1