Skip to content

Comments

Fix: Disable Analytics in Development#106

Open
Aarshpatel12 wants to merge 1 commit intoOSIPI:mainfrom
Aarshpatel12:fix/issue-51-analytics-dev
Open

Fix: Disable Analytics in Development#106
Aarshpatel12 wants to merge 1 commit intoOSIPI:mainfrom
Aarshpatel12:fix/issue-51-analytics-dev

Conversation

@Aarshpatel12
Copy link

…s #51)### Description
Created overrides/main.html to inject a script that disables Google Analytics when the hostname is localhost, 127.0.0.1, or *.github.dev.
Updated mkdocs.yml to set custom_dir: overrides.

Fixes

Fixes #51

@netlify
Copy link

netlify bot commented Jan 26, 2026

Deploy Preview for caplex ready!

Name Link
🔨 Latest commit a8342bd
🔍 Latest deploy log https://app.netlify.com/projects/caplex/deploys/69777c9ef34399000876c179
😎 Deploy Preview https://deploy-preview-106--caplex.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Google Analytics counts reloading the page while you're working on it as traffic

1 participant