- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
05-23-2019 03:52 AM
I am currently working on implementing GA on a ecommerce site that does not have product related data available on page load and hence the developers trigger a utag.view(that has tealium_event) after the utag.js execution that has product data.
The basic GA tag with "all pages" load rule fires before the utag.view triggers and hence does not have any product data. How can I fire one more GA server call after the utag.view has been triggered on the page so that it captures all product related info?
05-25-2019 12:05 PM
If a utag.view is being fired and the product data is in this, then this should trigger another pageview, as well as a full run of all the extentions and tags, therfore you should be able to set off the ecommerce product events, in the just the same way as if they where loaded in the udo on frist page load.
The downside with this setup, is that you will get an inflated pageview count in ga.
Recommend you ask your devs to change the utag.view to a utag.link.
This will also get a run of extentions and tags going but not cause the additional pageview in GA.
05-26-2019 03:04 AM
Thanks for the response. The problem i have is, there is no GA call triggering after the utag.view on the page. How do I trigger additional GA call with product data that is fired on utag.view after the default "all pages" initial GA call?
The default load rule of "All pages" does not trigger additional GA calls.
05-28-2019 08:26 AM
So, in order to send the product data you need to trigger the ecommerce event.
In this case, (and i still recommedn you change the utag.view to a utag.link) you can add an extention that sets a variable to hold the flag that will trigger the event.
Let's call it is_product_list_view
You can then set it to '1' when the conndition arises, i.e. the utag.link loads with event name equal to 'whatever event name you give it'
You then map the variable to the event trigger
This will tell teh tag to send the relevant ecomm event.
Hope that helps.
Copyright All Rights Reserved © 2008-2023