Highlighted

Hard coded and managed tags coexist?

Tealium Expert
Tealium Expert

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.

 

 

3 REPLIES 3
Highlighted

Hard coded and managed tags coexist?

Employee Emeritus

Good morning @mitchellt. Perhaps @AndreScholten's solution can help???

 

 

Let me know if it does or not. :-)

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Highlighted

Hard coded and managed tags coexist?

Tealium Expert
Tealium Expert

Thanks @kathleen_jo, that gives me an idea how to approach the problem.  I hope to get some other suggestions too!

Highlighted

Hard coded and managed tags coexist?

Bronze Contributor
Bronze Contributor

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.

- BG