Skip to content

chore(prod): cherry-pick Ahrefs Web Analytics - #703

Merged
Flotapponnier merged 1 commit into
mainfrom
chore/cherry-pick-ahrefs-prod
Jun 25, 2026
Merged

chore(prod): cherry-pick Ahrefs Web Analytics#703
Flotapponnier merged 1 commit into
mainfrom
chore/cherry-pick-ahrefs-prod

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #702. Adds Ahrefs Web Analytics tag conditional on NEXT_PUBLIC_AHREFS_KEY env.

Privacy-friendly analytics (no cookies, no PII). Loaded async so it
never blocks paint. Key is exposed as NEXT_PUBLIC_AHREFS_KEY (public
by design, identifies the property not an account secret). Skipped
entirely when the env var is unset so staging and preview deploys do
not pollute the prod analytics graph.
@Flotapponnier
Flotapponnier merged commit 0ffc453 into main Jun 25, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the chore/cherry-pick-ahrefs-prod branch July 17, 2026 14:41
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.

1 participant