- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
07-25-2016 08:02 PM - edited 07-25-2016 08:04 PM
I have a site which has both Tealium and "hard coded" SiteCatalyst. Can I use Tealium extensions to "enhance" the data collection of the server-side implementation? I'm wondering how to handle all the timing if this is possble. It is a workaround and temporary solution; I know it's not ideal/best practice.
Thanks for any ideas.
07-26-2016 11:03 AM
A quick response would be 'probably not'.
SiteCatalyst is typically loaded synchronously in the <head> or at least top of body. Even if that is not the case, your developer would have to load SiteCatatyst in a way that waits untill Tealium is complete *before* loading the SiteCatalyst library.
Even if you did the s.object insetions in a 'preloader' javascript extension in Tealium, at the very best you will create a race condition where our code is running and completeing ** or not ** before the sitecat library loads off of the page code and uses the s.object.
These timing considerations would be taken care of if in the future you choose to load sitecat from within TIQ :)
07-26-2016 11:29 AM
Thanks for the reply and walkthrough. I was thinking "why" and "why not?" all at the same time. Our devs stay backed up so thought a workaround might be possible even though all the "don't try this" alarms were sounding in my mind. I didn't even think of the 'race' condition, could only think of timing issues elsewhere.
We'll have to try another approach.... thanks again!
Copyright All Rights Reserved © 2008-2023