- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
I think the solution would be to prevent the execution of the link and redirect the user after the utag.link() and all consecutive events are finished. Can this be accomplished by using the callback-parameter in utag.link()?
Or is it better to call the conversion directly like described in the google docs (https://support.google.com/adwords/answer/6331304) without using utag.link at all?
Or am I completely missing something?
Hello @franzel. Have you tried using the jQuery onHandler Extension instead to track your event? Let me know!
There are a couple of things you can try.
1) Mousedown vs. click
In the event handler logic, if you are executing utag.link on a click, the other logic on the page may execute before the utag.link occurs. Try replacing the 'click' logic with 'mousedown'. This may trigger the utag.link prior to the page processing the href click.
2) The pixel is fired but you are not seeing it
Without all the details this is a shot in the dark. If, for example, you are using Chrome and viewing the Network panel for verification of the pixel being sent, make sure the option Preserve Log checked to ensure the list remains intact when the new page loads.
Let me know if either of these suggestions help.
Thank you, David
Nevertheless, we can use jQuery event.stopPropagation() Method, if you are executing utag.link on a click/Mousedown on the page may trigger the utag.link prior to the page processing the href click.
alert("The span element was clicked.");
alert("The p element was clicked.");
alert("The div element was clicked.");
Hope it helps out!!!
Copyright All Rights Reserved © 2008-2023