For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Gold Contributor
Gold Contributor
 
6 REPLIES 6

For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Employee Emeritus
Hey Tomas, You will need to use 2 JavaScript Extensions, one for the plugins and modules and the other for the do_plugins section. First you need to copy all the plugins and modules and paste them into a javascript extension. Give this a title such as "Plugins and Modules." The Plugins and Modules start with /*****Plugins******/ and goes down to the line that says, /**DO NOT ALTER ANYTHING BELOW THIS LINE****/. Then copy the do_plugins code and paste it in another JavaScript Extension. Make sure this extension is below the "Plugins and Modules" extension. The do_plugins code should start with s.usePlugins=true and go down to the the /*******Plugins*******/ line. Where you are working with raw JavaScript make sure and test this in a dev environment (or using Web Companion) before pushing this live. Hope this helps.

For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Gold Contributor
Gold Contributor
Do those two extensions should have SiteCatalyst tag scope?

For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Employee Emeritus
Yes! Oversight on my part. Great catch.

For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Gold Contributor
Gold Contributor
Thanks. Just tested everything works nicely.

For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Employee Emeritus
Great! Glad to hear. Good job.

For SiteCatalyst implementations how to use s_doPlugins function escaping all the Tealium logic in order to natively assign values to sitecatalyst s object?

Employee Emeritus
Chaitanya, There is a chance something was missed when copying and pasting. The best thing to do in this situation is to reach out to your Account Manager with the account / profile you are implementing this for. Also, include a URL where this can be tested. Our support staff will be able to quickly look into this and formulate a helpful response.
Public