- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
04-11-2016 08:53 AM
Hi,
I have my ecommerce extension set up for multiple tags, but for a tag in particular, I would like to overrride the enhanced ecommerce's extension to not send the data to my tag for specific pages.
So far, I have created a separate data source for my tag with "set data sources" extensions based on my conditions (one extension to set the data sources and another to set them to "empty" on certain pages).
When I go to my page however, I can see my new data sources are set to empty, but the tag still gets the data.
I am wondering, when there is a custom mapping that overrides the ecommerce extension, if Tealium doesn't see any data for a data source, will it default to the ecommerce extension?
Thanks.
Solved! Go to Solution.
04-11-2016 09:56 AM
"I am wondering, when there is a custom mapping that overrides the ecommerce extension, if Tealium doesn't see any data for a data source, will it default to the ecommerce extension?"
In general, yes, this is exactly what most of the tags do.
What you can do, along with what you've already done, is to use your set data value extension to also set the value of the _cxxx data sources to empty on the pages in question (for example, set the _cprod data source to empty if you don't want the product id(s)). As long as your extension is scoped to a specific tag (or to more than one specific tags), then this will only affect that tag, leaving the rest of the tags to use the eCommerce extension data as normal.
04-11-2016 11:30 AM
04-11-2016 11:46 AM
Hi @mark_reddin,
I just implemented what you suggested, but for some reason, now that I've scoped the extension to my tag, the data is not rewritten on the page, and the tag still gets the data. The data is sent via utag_data, so I'm wondering if there are issues with the order of operations and the extension being scoped to the tag?
Thanks.
04-11-2016 11:49 AM
Now I can't remove my previous post. I just realized I was rewriting the data source mapped to _cxxx instead of rewriting _cxxx directly. Once I did that, it worked!
Thanks!
04-11-2016 12:04 PM
Great job @audrey_poulin!
Copyright All Rights Reserved © 2008-2023