- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
12-27-2018 06:27 AM
Hello Community
We are implementing Google Analytics for audience reporting. We'd like to send specific event and custom dimensions when conditions are true. But the website has 2 tag manager (GTM & Tealium) along each other.
While the 1st one sends standard data to GA (pageview), I'd like to send Event data without making any pageview hit.
I've browse through the forum and did not find a clear answer.
Thank you very much for your help.
J
Solved! Go to Solution.
01-09-2019 06:49 AM
Hi @Mediascale
If you are using Google Analytics, you have to specify Event Category and Event Action to fire an event call. As soon as these two variables are set and mapped in the tag, an event call should be sent (without a pageview).
Hope that helps
Patrick
01-09-2019 08:54 AM
Hey Patrick
How are you doing ?
thank you for your answer.
Indeed, It make sense to only fire the events using the Google Analytics Tags. However, by default the tag is firing by default. Looking at the Developper pages, I saw that if you use GTAG, you are able to deactivate the pageview once the gtag.js library is called. (resources)
You need to make a custom destination with config to reproduce this call
gtag('config', 'GA_TRACKING_ID', { 'send_page_view': false });
Which results in doing this:
It solved my problem :)
Thank you very much for your input.
Have a nice day
J
02-09-2021 06:08 AM - edited 02-09-2021 06:10 AM
Thanks @Mediascale, this solves the fundamental issue with the GA template.
Copyright All Rights Reserved © 2008-2023