Hello, I have a situation where I need to have Tealium co-exist for an undetermined time along with hard-coded tags.
Besides page load rules, is there a way to programatically determine that a hard-coded tag is in place and not fire the (duplicated) tag via Tealium?
This is a temporary problem as we migrate all tags into Tealium - some hard-coded Google Analytics tags with custom event capture. On affected pages, I want to allow those hard-coded tags to continue to run while suppressing the GA tag set in Tealium.
I realize this isn't optimal, but it's a reality situation - Thanks for any ideas.
Let me know if it does or not. :-)
Is there a reason you can't use load rules, @mitchellt? I would think you could do this by checking for the existinance of Google Analytics on a page
(typeof ga === 'function')
and set a true / false value in the data layer. Then you can use the previous recommendation above to delay the trigger of the tag and conditionally load the tag using the data layer value. Let me know if this helps.