Activating Debug Mode #69
Closed
ericktreichel
started this conversation in
General
Replies: 1 comment
-
You can do so by adding the config command to the module options: export default defineNuxtConfig({
modules: ['nuxt-gtag'],
gtag: {
id: 'G-XXXXXXXXXX',
// Additional configuration for this tag ID
config: {
debug_mode: true
},
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to activate debug_mode using nuxt-gtag?
Per Analytics docs (https://developers.google.com/analytics/devguides/collection/ga4/set-up-ecommerce#verify-data) we would do this way:
gtag('config', 'TAG_ID',{ 'debug_mode': true });
where debug_mode: true is passed in the option object for additional configs.
Can we use it now? If note, do you thing would be a valid feature to implement in the module?
Thanks in advance,
Erick T
Beta Was this translation helpful? Give feedback.
All reactions