Skip to content

New option 'runtimeDisable'#24

Open
jrutila wants to merge 3 commits into
nuxt-community:masterfrom
jrutila:feature/disable_runtime
Open

New option 'runtimeDisable'#24
jrutila wants to merge 3 commits into
nuxt-community:masterfrom
jrutila:feature/disable_runtime

Conversation

@jrutila

@jrutila jrutila commented Jan 20, 2020

Copy link
Copy Markdown

This new option lets the developer to define a runtime logic that defines if gtag is enabled or disabled.

I use this to test my production site without getting google analytics hits.

runtimeDisable will be run on every page load
and if it returns true gtag is disabled
@wirk

wirk commented Apr 16, 2021

Copy link
Copy Markdown

I'd love to see this merged

@dohomi

dohomi commented Apr 19, 2021

Copy link
Copy Markdown
Contributor

https://github.com/nuxt-community/google-gtag-module#attention
I don't have resources in maintaining this package at the moment. Feel free to reach out to the Nuxt community to get promoted for maintaining it

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.

4 participants