Highlighted

pulling data from utag.link or utag.view

ksugam
Visitor
ksugam

Hello All,

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?

3 REPLIES 3

pulling data from utag.link or utag.view

GavinAttard
Occasional Contributor
GavinAttard Occasional Contributor

Hi

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. 

 

Research your Experience | Improve and Evolve | Leave no one behind

pulling data from utag.link or utag.view

ksugam
Visitor
ksugam

hello @GavinAttard 

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.

 

pulling data from utag.link or utag.view

GavinAttard
Occasional Contributor
GavinAttard Occasional Contributor

HI @ksugam 

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

Screenshot 2019-05-28 at 4.21.24 PM.pngScreenshot 2019-05-28 at 4.21.57 PM.png

 

This will tell teh tag to send the relevant ecomm event. 

 

Hope that helps. 

 

Gavin

Research your Experience | Improve and Evolve | Leave no one behind