We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have setup using basic configuration with debug: true.
debug: true
If I fire:
this.$gtag('event', 'your_event', { testing: 123 });
Nothing happens.
If I run below script first, then it works
this.$gtag('config', 'GTM-MY-ID', { page_title: 'test', page_path: 'testing' });
Which is pretty weird, because config should've already been run using the basic configuration options.
Also documentation states several places that the "UA" ID is needed, but it is indeed the "GTM" id that should be provided.
The documentation also references this code:
this.$gtag('config', 'UA-XXXX-XXX', { page_title: this.$metaInfo.title, page_path: this.$route.fullPath });
However, it does not work - you can't use this.$metaInfo.title since $metaInfo will be undefined.
this.$metaInfo.title
The text was updated successfully, but these errors were encountered:
Forgot to mention:
when I use:
I see "your_event" in the Network tab, but I don't see the associated data (e.g. testing.123). I do see it correctly in the "dataLayer" though.
Sorry, something went wrong.
#34 (comment)
No branches or pull requests
I have setup using basic configuration with
debug: true
.If I fire:
Nothing happens.
If I run below script first, then it works
Which is pretty weird, because config should've already been run using the basic configuration options.
Also documentation states several places that the "UA" ID is needed, but it is indeed the "GTM" id that should be provided.
The documentation also references this code:
However, it does not work - you can't use
this.$metaInfo.title
since $metaInfo will be undefined.The text was updated successfully, but these errors were encountered: