Skip to content

New option 'runtimeDisable'#24

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

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

Conversation

@jrutila
Copy link

@jrutila jrutila commented Jan 20, 2020

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
Copy link

wirk commented Apr 16, 2021

I'd love to see this merged

@dohomi
Copy link
Contributor

dohomi commented Apr 19, 2021

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