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?
Solved! Go to Solution.
"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.
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?