- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
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.
Good morning @mitchellt. Perhaps @AndreScholten's solution can help???
Let me know if it does or not. :-)
Thanks @kathleen_jo, that gives me an idea how to approach the problem. I hope to get some other suggestions too!
03-03-2017 10:23 AM - last edited on 03-03-2017 01:17 PM by kathleen_jo
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
Copyright All Rights Reserved © 2008-2023