elgorditosalsero / react-gtm-hook

Easily manage the Google Tag Manager via Hook
https://elgorditosalsero-react-gtm-hook.netlify.app/
MIT License
220 stars 28 forks source link

fix: unable to use customDomain config #55

Closed listiani13 closed 2 years ago

listiani13 commented 2 years ago

A follow up PR for this one https://github.com/elgorditosalsero/react-gtm-hook/pull/50

Currently we didn't pass the customDomain params so it doesn't work 😢 This PR passed down the customDomain, so we can use customDomain config

listiani13 commented 2 years ago

i was trying to create simple unit test for this, but got this error. Could someone help with the jest configuration?

image