- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
01-26-2018 11:22 AM
I've run into an issue where when I call utag.link, 2 identical universal analytics call fire. I've searched the forums as best I could, but I wasn't able to find anything.
Could someone point me toward troubleshooting steps to figure out what might be causing the double-firing?
01-26-2018 12:17 PM
Update on this after further testing:
When I do a manual utag.link call and change my event_type from a custom event type variable (_ua_event_type) to just 'event_type' (which is also mapped in UA for link tracking, separate from what I am trying to do right now, a different type of event tracking), it only fires once.
If I make that same change in the jQuery onHandler, UA still fires twice.
01-29-2018 02:01 PM
Your best bet is to follow the debugging steps stated here with step 8 being the important part. By using the call stack to traverse the code and find where the utag.link initiated each time it will tell you what piece of code is triggering the event.
If you only see your breakpoint hit only once then likely the first call is a page view and the second call is a custom jQuery event added via extensions or custom JS.
If you're able to provide a URL where you see this happening and steps to reproduce I'm happy to look into this further I apologize I'm not able to help a whole lot more, with more details I'm hopeful to provide more details.
Cheers,
-Dan
07-20-2023 10:51 AM - edited 07-20-2023 11:00 AM
Hello @dan_george ,
This was a long time ago response you posted, but I have the same issue with the community Tealium YouTube tracking. After doing long hours of testing/refactoring/adjustment, my cause issue could be what you put as a note in your post:
"If you only see your breakpoint hit only once, then likely the first call is a page view, and the second call is a custom jQuery event added via extensions or custom JS."
Is there a way to fix the first call of page view?
Thanks.
ASR
Copyright All Rights Reserved © 2008-2023