Skip to content

[TEC-646] Set up GTM and GA4 for Semgrep docs - #2804

Merged
abhijna merged 1 commit into
mainfrom
abhijna/tec-646-set-up-google-tag-manager-and-ga4-for-docs-website
Aug 21, 2026
Merged

[TEC-646] Set up GTM and GA4 for Semgrep docs#2804
abhijna merged 1 commit into
mainfrom
abhijna/tec-646-set-up-google-tag-manager-and-ga4-for-docs-website

Conversation

@abhijna

@abhijna abhijna commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator
  • Added Google Tag Manager to semgrep docs.json.
  • It loads GA4 as a Google tag inside GTM, so tags can be managed centrally without redeploying docs.

With GA4 configured in GTM, the direct ga4 entry in docs.json is redundant and would inflate metrics.

To do after merge:

  • Use GTM Preview on a docs URL and confirm GA4 - Semgrep Docs fires
  • Confirm page views appear in GA4 Realtime
  • Confirm only one GA4 hit per page load (no double-counting)

@abhijna abhijna self-assigned this Aug 21, 2026
@mintlify

mintlify Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
semgrep-docs 🟢 Ready View Preview Aug 21, 2026, 9:04 PM

@abhijna
abhijna merged commit 4b72978 into main Aug 21, 2026
6 checks passed
@abhijna
abhijna deleted the abhijna/tec-646-set-up-google-tag-manager-and-ga4-for-docs-website branch August 21, 2026 23:50
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