Skip to content

fix: disable analytics outside production - #90

Open
alowpoly wants to merge 1 commit into
mainfrom
fix/disable-local-analytics
Open

fix: disable analytics outside production#90
alowpoly wants to merge 1 commit into
mainfrom
fix/disable-local-analytics

Conversation

@alowpoly

Copy link
Copy Markdown
Contributor

Summary

  • load Google Analytics only on polycss.com and www.polycss.com
  • share the guarded bootstrap between custom Astro pages and Starlight pages
  • run focused hostname behavior coverage through the standard test command

Verification

  • pnpm test
  • pnpm build
  • local Chromium network checks on / and /quickstart/ with no Google Analytics requests

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