We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using react-ga - we would set up the cross-domain tracking with the linker option in GA:
react-ga
linker
ex:
ReactGA.ga("require", "linker") ReactGA.ga("linker:autoLink", ["source.com"])
When we upgraded to this library - we started getting warnings in the console:
Command doesn't exist: require Command doesn't exist: linker:autoLink
It looks like this invocation is getting caught up here: https://github.com/codler/react-ga4/blob/master/src/ga4.js#L356-L367
whereas in the old react-ga library - this method would return window.ga https://github.com/react-ga/react-ga/blob/087837dc03d482549ded7669ac559df0c7cc5498/src/core.js#L30
window.ga
What is the correct way to migrate this function call to react-ga4?
react-ga4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
react-ga
- we would set up the cross-domain tracking with thelinker
option in GA:ex:
When we upgraded to this library - we started getting warnings in the console:
It looks like this invocation is getting caught up here: https://github.com/codler/react-ga4/blob/master/src/ga4.js#L356-L367
whereas in the old
react-ga
library - this method would returnwindow.ga
https://github.com/react-ga/react-ga/blob/087837dc03d482549ded7669ac559df0c7cc5498/src/core.js#L30
What is the correct way to migrate this function call to
react-ga4
?The text was updated successfully, but these errors were encountered: