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
multiple trackingIds in config:
id: string | string[] - (id) => [].contact(id).foreach((_id) => gtag('config', _id))
id: string | string[]
(id) => [].contact(id).foreach((_id) => gtag('config', _id))
and add sugar method for runtime - configureTrack.
configureTrack
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-gtag/src/gatsby-ssr.js#L65
also maybe need add sugar method to get clientId and prevent duplications https://www.analyticsmania.com/post/get-google-analytics-client-id/
The text was updated successfully, but these errors were encountered:
Good idea. Should be pretty straight forward to implement. PR welcome! 🙂
Sorry, something went wrong.
also good implementation https://github.com/facebook/docusaurus/blob/7dcad0c6322c87131f9f39cbc4e765b0e1119fe8/packages/docusaurus-plugin-google-gtag/src/index.ts
+1
aedc6e4
Successfully merging a pull request may close this issue.
Describe the feature
multiple trackingIds in config:
id: string | string[]
-(id) => [].contact(id).foreach((_id) => gtag('config', _id))
and add sugar method for runtime -
configureTrack
.https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-gtag/src/gatsby-ssr.js#L65
also maybe need add sugar method to get clientId and prevent duplications
https://www.analyticsmania.com/post/get-google-analytics-client-id/
Additional information
Final checks
The text was updated successfully, but these errors were encountered: