Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable Google analytics when building on Netlify. #404

Merged
merged 1 commit into from
May 17, 2024

Conversation

jvanz
Copy link
Member

@jvanz jvanz commented May 16, 2024

Description

Customizes the Netlify build used to preview the website building in development mode to disable the Google analytics. Therefore, we do not pollute our dashboard with development data.

Fix kubewarden/kubewarden.io#224

@jvanz jvanz self-assigned this May 16, 2024
@jvanz jvanz requested a review from a team as a code owner May 16, 2024 19:10
Copy link

netlify bot commented May 16, 2024

Deploy Preview for silly-bunny-8cedd0 ready!

Name Link
🔨 Latest commit 2d0fdb3
🔍 Latest deploy log https://app.netlify.com/sites/silly-bunny-8cedd0/deploys/664761b0cbfaa600084a4f99
😎 Deploy Preview https://deploy-preview-404--silly-bunny-8cedd0.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 site configuration.

@jvanz jvanz added the kind/bug label May 16, 2024
Copy link
Contributor

@jhkrug jhkrug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Customizes the Netlify build used to preview the website building in
development mode to disable the Google analytics. Therefore, we do not
pollute our dashboard with development data.

Signed-off-by: José Guilherme Vanz <[email protected]>
@jvanz jvanz force-pushed the disableanalitics-netlify-issue224 branch from c73b4ae to 2d0fdb3 Compare May 17, 2024 13:54
@jvanz jvanz merged commit 86e1331 into kubewarden:main May 17, 2024
6 checks passed
@jvanz jvanz deleted the disableanalitics-netlify-issue224 branch May 17, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable analytics on the production server only
2 participants