-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
SFR-2449: Add GTM scripts #578
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -19,6 +19,14 @@ class MyDocument extends Document<DocumentProps> { | |||
<Html lang="en"> | |||
<Head> | |||
<script src={appConfig.analytics} async /> | |||
{/* Google Tag Manager */} | |||
{/* eslint-disable-next-line @next/next/next-script-for-ga */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next third party scripts is available in Next 14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Do you think it makes sense to upgrade to Next 15 sometime soon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we should also migrate to the app router to improve load states.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Jira Ticket
This PR does the following:
Testing requirements & instructions: