Closed thebiltheory closed 2 years ago
Expecting the google tag manager to be https://custom.com/gtm.js when provided with a custom domain configuration
https://custom.com/gtm.js
const gtmParams: ISnippetsParams = { id: "GTM-ABCD", + customDomain: "https://custom.com", }; <GTMProvider state={gtmParams}> ... </GTMProvider>
Script url not being replaced with the cusotm domain =>https://www.googletagmanager.com/gtm.js?id=GTM-ABCD
https://www.googletagmanager.com/gtm.js?id=GTM-ABCD
@elgorditosalsero/react-gtm-hook
Provider
Expected Behavior
Expecting the google tag manager to be
https://custom.com/gtm.js
when provided with a custom domain configurationCurrent Behavior
Script url not being replaced with the cusotm domain =>
https://www.googletagmanager.com/gtm.js?id=GTM-ABCD
Steps to Reproduce
@elgorditosalsero/react-gtm-hook
Provider