- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
I was wondering if it was better to use one tag loaded on all pages, using a group of set data extenstions to dynamically create the data mappings based off the page type, or multiple tags each loading on a specific page type with static data mappings?
Most if not all of the marketplace tags are designed to have dynamic values from different pageTypes mapped to one tag.
07-20-2018 01:53 PM - last edited on 07-20-2018 02:01 PM by kathleen_jo
Just to be clear, @robert_sabec, what I'm talking about is something like mapping 'product_list_price' to the tag's value variable on product pages, and mapping 'order_subtotal' to the same value variable on cart pages.
Currently I have one tag with some UDO variables mapped to each of the tags outputs. Then I have a separate setData extension, scoped to the tag, for each pagetype. These extensions set the values of the mapped UDO variables to be the values I am needing to send for that pagetype
Based on my understanding of your question, having 1 Tag and multiple extension would be a good option (my personal approach).
Example: Today you have 5 variables for 5 differnt pages you end up creating 5 tags for each page, in case if your variable count increases each time you have to make changes accordingly for all those tags or if a new page is added you have to have addditional tag for thoses as well.
if you have one Tag then it will be easy to manupulate the data with differnet type of extensions and the same data can be used in multiple areas as required.
Hope this helps and please do let me know if you need more info.
Copyright All Rights Reserved © 2008-2023