- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
12-17-2020 08:01 AM
We will be running 2 analytic tools (Adobe and Google) for a period of time. The problem is that we have some hard coded events and most of the events that are triggered through JQuery extensions. The JQuery extensions are all for Adobe. But, the problem is that to remap the hardcoded events to GA we would double fire most GA events (because the extension to remap the hardcoded events would detect the jquery extensions too -which we don't need for GA because we are sending the events in a different way).
01-18-2021 12:35 AM
THere should be a way of achieving this, however it's still not clear to me how things are working for you.
What are the hardcoded events, utag.link or custom js event? What's the difference in implementation between the GA and AA events?
kr
02-11-2021 02:27 PM
Hi @mgensollen
Are the jQuery extensions triggering utag.view() or utag.link() calls. If so, the easiest workaround will be to scope these calls to specific tags. The tracking calls have 3 arguments. The first one is the data that is being passed to the tags. The second is a callback function that will run once the call has finished. The last argument, and in our case the most critical one, is an array of the UIDs that should receive this data.
With that being said, if you pass the UID of a tag, only the tag scoped extensions run and load rules are automatically skipped. This means that the tag with the UID specified in the function call will run regardless of its load rules and extensions scoped to all tags will not run.
Here is an example of what the call will look like:
utag.link({data},null,[<UID of tag>])
Good luck!
Copyright All Rights Reserved © 2008-2023