Target Standard - Sync and Async tag together

zhaque
Silver Contributor
Silver Contributor zhaque

Hi, 

 

Is it possible to run Target Standard sync and async tag parralelly on a Tealium profile. Off course they will not share the same load rules. Or is it one profile- one target setup?

 

thanks

2 REPLIES 2
Highlighted

Target Standard - Sync and Async tag together

Tealium Employee

@zhaque

 

You could run both versions of this tag *if* you are loading the utag.js file synchronously on your site.  However most clients elect to use the mondern asynchronous loading of the utag,js.  You can not load synchronous code inside asynchonously loaded code.  This is a ECMA Javascript Standard and is not a Tealium constraint.

 

If you load Tealium Asynchronously then the only marketplace tag you can utilize is the "Adobe Target (Async)" version but you can impement TNT synchronously in the utag.sync.js file.  This is typically done by placing the at.js code or it's loading script in the utag.sync.js file.  The utag.sync.js file is loaded independently and synchronously in the <head>.

 

More information on the utag.sync.js.

 

 

 

 

Target Standard - Sync and Async tag together

Tealium Employee

@zhaque

 

Just to expand on @robert_sabec answer.

 

We have developed a Flicker Free Solution so that you can load utag.js asynchronously and then the flicker-free code synchronously using the utag.sync.js.

 

At present there is a new version of the Adobe Target Tag that is being developed, that will replace both the current tags.

This has the latest at.js code and will allow for integration with the Adobe Visitor API service as well.

 

I would advise not to put the at.js code directly into the utag.sync.js file, and to use the Flicker Free solution. If you would like to try the new beta version of the Target tag please either reach out to your account manager of support for them to enable it for you.

 

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.