- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
I am new to Tealium and would appreciate some advice. I am trying to set up GA4s alternative to impresions, view_iitem_list. I am sending the event on a view of Category page. However, the data layer currently doesn't have lists of products on that page so I am looking to create a DOM ready extension to populate the product prices, names and SKUs to send them as items with view of Category page. I have got the mapping and the DOM ready scoped extension in place but the items are not populating. I am afraid I have not got my head around the order of operations in Tealium yet. Any advice will be greately appreciated.
For the Dom elements you are trying to scrape off the page, it is important to ensure they are available when Utag.js loads.
Assign the scraped values to a variable in the b object.
The tag mappings reference the b object and assign the values to the u.data object for the tag.
Last you will need to make sure you are mapping the variables to the correct destination.
I hope this helps.
Hello, thank you for your answer. I now have a Before Load Rules scoped extension which is kicking in before the Ecommerce extension. The properties are getting picked up nicely but I am passing in the array of names and ids (12 items in each) and in GA4 debugger, I can see that only the first item is passed as item. I know Tealium specifies that the items object is send with ecommerce events only. Am I only seeing the first item because view_item_list is not a prespecified ecommerce event? And would you know how could I resolve this?
Copyright All Rights Reserved © 2008-2023