vercel / vercel/next.js

Docs: `gtmScriptUrl` should default to googletagmanager.com/gtag/js

Open Beginner friendly
#98,017 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
142k
Forks
32.4k
Avg merge
2d 14h
Merged PRs (30d)
351

Description

What is the documentation issue?

Google is deprecating https://www.googletagmanager.com/gtm.js as the default GTM script url:
https://support.google.com/tagmanager/answer/17231523

This should be changed in docs:
https://nextjs.org/docs/app/guides/third-party-libraries
but also in the @next/third-parties package.

Is there any context that might help us understand?

https://support.google.com/tagmanager/answer/17231523

Does the docs page already exist? Please link to it.

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked third-party libraries documentation page and inspect the @next/third-parties package for the gtmScriptUrl default. Update the documented and package defaults to the new googletagmanager.com/gtag/js URL, then verify the docs and package consistently use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nextjs
Domain
documentation, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.