Skip to content

Conversation

aditya520
Copy link
Member

No description provided.

Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 2:20pm

"nextra-theme-docs": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-gtm-module": "^2.0.11",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for now but do note this library isn't great with later versions of nextjs; in particular once I get us onto nextjs 14 and the app router across the board we will need to use something that leverages the nextjs Script component instead since it properly handles blocking / prioritization and CSP.

I don't know of any libraries that implement this out of the box but it's really trivial to do it manually -- I'll add it in after I migrate us.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will put a reminder if you need.

@aditya520 aditya520 merged commit 8922e30 into main May 22, 2024
@aditya520 aditya520 deleted the (feat)-add-google-tag-manager branch May 22, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants