Reply
Highlighted
Regular Contributor
Posts: 80
Registered: ‎06-06-2017
Accepted Solution

Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi all,
 
I have been in communication with Tealium Support about this, but would like to hear about experience from fellow community members :-)
 
Have anyone any experience to share about the follow setup:
  1. Adobe Target (at.js) implemented directly in the HEAD section of site pages
    1. Connection to ID Service setup in Target UI, before download of at.js file 
    2. Auto-create global mbox option enabled
  2. Adobe Marketing Cloud ID Service and Adobe Analytics implemented as standard tags in iQ
    1. ID Service tag placed before Analytics tag
Please share any experiences, both good and bad.
 
Thanks in advance!
 
Best regards
Peter Meyer
 
Reply
0 Kudos
Visitor
Posts: 27
Registered: ‎06-26-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@pmeyerdk

 

I would be very keen to hear how you resolved it. 

 

So the ID services will fire twice? Will it be a issue? I will give it a try in my testing enviornment - see what happens :)

 

Cheers

Z

Reply
0 Kudos
Visitor
Posts: 27
Registered: ‎06-26-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Unfortunately when I try to paste VisitorAPI.js in Target UI (edit at.js template under setup/implementation) Target complains...

 

ERROR Library Header cannot be more than 10kb.

 

Keen to hear how you solve it..

Reply
0 Kudos
Regular Contributor
Posts: 80
Registered: ‎06-06-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi @zhaque,

 

I haven't solved it yet, but was wondering if it shouldn't just work as is.

 

I have been looking at this document:

https://marketing.adobe.com/resources/help/en_US/target/target.pdf

 

On page 69 it mentions:

2017-12-12_09-42-16.png

On to me, it seems like the Adobe Target process flow handles visitor identification.

 

2017-12-12_09-45-32.png

I will have to test further, since I haven't tested this thoroughly.

 

But fellow community members, please share your input and experiences :-)

It isn't very easy to find the information, so any feedback would be much appreciated!

 

Best regards,

Peter

 

Tealium Employee
Posts: 709
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hey @adrian_browning is this something you can speak to with all your Adobe Target knowledge you've accumlated over the last year?

Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@pmeyerdk

 

From the exposure, I have had working on the latest Beta release of Target tag, and working with Adobe consultants. I would be surprised if you could get this scenario working smoothly. As the picture and document shows, the Visitor API needs to run first, before the Target code. This you will see, will send out a DMDEX request. This will then return and for both Target and Analytics, you will get a visitor ID to use. On the Target request, you will see the mid parameter, this is the visitor ID returned by DMDEX. 

 

You might be able to call the Visitor service after manually call Target track method. This might be enough to stitch the mid to the request. Would have to test this though.

 

With the latest release of the Adobe Marketing Cloud ID Service and Adobe Analytics they have a communication method built into them, so if the Analytics tag is loaded second, after the Adobe Marketing Cloud ID Service tag, it will wait until it has returned before firing.

 

Hope this helps, 

 

Adrian

 

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Regular Contributor
Posts: 80
Registered: ‎06-06-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi @adrian_browning,

 

Thanks! I guess I have been miss-reading the flow illustration :-/

I actually had a very thorough talk, a couple of hours, with Kevin Faurholt about the upcoming new Target tag.
And your name was mentioned often in that conversation ;-)

I want to go for the new approach, but the label "beta", is holding that back a bit, in regards to which tags and extensions I will be allowed to use.

 

A bigger issue is, that we are a bit afraid of the utag.sync.js file being synchronous, as it should, since that makes us more vulnerable to non-answering scripts, blocking other stuff from loading and/or displaying.
So what we best do about that, we will have to find the solution for.
This I of course also discussed with Kevin.

 

It is now clearer to me, that if we don't use the new approach, I would have big work ahead, if I want to do something regarding the Visitor ID myself.
This part would be nice, to not have to do myself ;-)

Best regards
Peter

 

Reply
0 Kudos
Regular Visitor
Posts: 27
Registered: ‎09-22-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

This is actually quite interesting for us as well. We have the following setup:

 

utag.sync.js, loaded synchrounously in the <head>

- define Marketing Cloud Visitor ID Service and initialize it with our tracking servers (copied+pasted the whole library in the file)

- load the mbox.js via <script> tag to prevent flickering

 

<body> tag

- load Adobe Analytics tag

 

But the Marketing Cloud Visitor Service bloats the utag.sync.js file quite a bit and due to the 5 minute cached lifetime of the utag.sync.js this adds some extra request payload for returning visitors (after the cache timeout has expired). 

 

 

What I don't get yet is why there is a tag for the Marketing Cloud ID Service if it required to load synchronously before  Target, Audience Manager, Analytics, etc.

Is this somehot not a standalone tag in the classic way and instead rendered directly into the utag.js?

 

And if used, if see this correctly that will only work with the asynchronous version of Target, correct?

 

Cheers,

Björn

Tealium Employee
Posts: 405
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@bjoern_koth this is just a clarification on the utag.sync.js and utag.js file expiration. Even though the file "expires" after 5 minutes, it will still be served from local cache on disk if it exists, and the only time it will be re-downloaded is if a publish has taken place affecting that specific file during a user's session. If the file hasn't changed, the user will receive the file from their local cache even after the 5 minute cache period (sometimes referred to internally as "Time To Live or TTL"").

You can verify this by going to a site with utag.js on it (e.g. tealium.com) and looking at the network requests for utag.sync.js. After the initial request, wait more than 5 minutes, and you will see that instead of a "200 OK" response, you will get a "304 Not Modified". This indicates to the browser that the file has not changed since the last request, and should be loaded from the cache instead of from the server. If you subsequently disable your cache, you will again get a "200 OK" response.

Thus, most of the time, your returning visitors will still receive the utag.sync.js from cache, and the load time will be very fast. It's worth noting that Google's page speed reports (and other speed reports) do not take account of this factor, and report that the short cache time is slowing down the page (see here for a related question: https://community.tealiumiq.com/t5/Tealium-iQ-Tag-Management/Custom-expiration-for-utag-sync-js-and-...).
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.
Regular Visitor
Posts: 27
Registered: ‎09-22-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Ah thanks, good to know that
Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@bjoern_koth

 

We have done something different for the 3 main Adobe tags, we have allowed them to effectively talk to each other.

So what happens is the following:

 

utag.sync.js

 - Loads the hiding code required for Target

 

utag.js (Tags need to be in this order)

 - Marketing Cloud (Will automatically bundle, and turn wait off)

 - Target (Will automatically bundle, and turn wait off)

 - Analytics

 

When Marketing Cloud loads it creates a lightweight publish/subscribe method. When the other 2 tags load/run they hook onto this so that they will carry out their main work once the visitor service has returned. 

If the Marketing Cloud tag is not present, then Target/Analytics both have a stubbed version of this, and will execute immediately.

 

This methodology only works currently on the Beta Target tag which is indeed async. The 2 in the tag marketplace don't have this logic in place, as these will be deprecated once the beta version is fully released.

 

Adrian

 

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Reply
0 Kudos
Regular Visitor
Posts: 27
Registered: ‎09-22-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi Adrian,

thanks for the response!

What exactly is the "hiding code required for Target"?
So if this is async, does this mean potential flickering or will it be fixed with the aforementioned "hiding code"?

If the Beta Target is bundled, will it not be automatically be part of the utag.js and executed synchronously? Not sure whether I have understood the "bundling" completely yet.

Do you know when this will leave the Beta phase?

Cheers,
Björn
Reply
0 Kudos
Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

HI @bjoern_koth

 

So the utag.sync.js file is populated by the Target extension, with code that hides the body and the defined mboxes.

This bit of code, adds a style tag to the dom with the hiding CSS.

 

The beauty of having just this in the sync file and then the rest loaded async is that there is no flicker. 

 

You are correct this means the tag template gets added to the utag.js file, so there is no additional step of requesting the file from the CDN. By default, utag.js should only be loaded async. With this setup, we are hiding the body ASAP with the sync file, then allowing the Marketing Cloud / Target tags to fire as soon as they are able to.


Thanks to the Beta users we have found some items that needed to be fixed, in scenarios we hadn't thought of. These have now been addressed, and we are waiting for QA to complete their testing. I would imagine the updated beta to be released in Jan, with the full release happening a couple of weeks after, as long as no additional issues are identified.

 

Adrian

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Regular Contributor
Posts: 80
Registered: ‎06-06-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi @adrian_browning,

 

But if I then delete the extension and/or the Adobe Target tag, will the code in utag.sync.js also be removed automatically, together with the code I guess will be removed from utag.js?

And if I only disable the extension and/or the Adobe Target tag, can I then be sure, that none of the code added together with the tag and extension will run?

 

Best regards,
Peter

 

Reply
0 Kudos
Regular Visitor
Posts: 27
Registered: ‎09-22-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Sounds interesting, this should be interesting for us once it leaves the beta stage.
Is there any chance you can keep me in the loop on the progress or a rough release date?
Regular Visitor
Posts: 27
Registered: ‎09-22-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

one thing that came to my mind: if the Target tag is dynamically modifying the utag.sync.js file with necessary CSS changes, will it still be possible to control the tag through load rules?

 

Use case: we have certain pages that shall not fire Target. Will Tealium then serve a different looking utag.sync.js for them or will the CSS code always be there, yet not active on these pages?

 

Cheers

Reply
0 Kudos
Regular Contributor
Posts: 80
Registered: ‎06-06-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi both,

I setup this new Adobe Target approach on one of our test sites, which I won't share the URL of here.

 

It seems to runs as supposed to, except one thing:
On the one page I added a test, I am experiencing flicker.
More precisely, I can see the original content switch to the changes made using a Target A/B test.

I might have done something incorrectly, and have an open support case with Nathan Fleming regarding this.
Just so you, @adrian_browning, at least know it :-)

Best regards,
Peter

Reply
0 Kudos
Visitor
Posts: 27
Registered: ‎06-26-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Is there new target beta tag? How do I get it? Sending mail to support now :)
Community Manager
Posts: 1,002
Registered: ‎08-26-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@adrian_browning and @dan_george pointing-up.png

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.
Reply
0 Kudos
Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@pmeyerdk

 

So if you delete the extension, then no code will be added into the utag.sync.js file.

In the beta update going through QA this will also now set Adobe target to non-body hiding mode.

 

If you remove the tag, then nothing with regards to Target will get published out.

 

If you disable either/or then it will be like they weren't there.

 

Adrian

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

@bjoern_koth

 

I will try to endeavour to update this thread when the update has been released for the beta tag.

 

This new Beta version has better handling when used in conjunction with load rules. Though with the current version a timing was found with regards to the logic that checks the load rule conditions. This update is again in the updated beta.

 

Adrian

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Reply
0 Kudos
Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi @pmeyerdk

 

With regards to the flicker, you are seeing I will reach out to @nathan_fleming and see if I can lend any assistance.

 

Adrian

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Reply
0 Kudos
Visitor
Posts: 27
Registered: ‎06-26-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

[ Edited ]

@adrian_browning

 

Many Kudos for this Target Beta Tag. Support help me enabled it for my account. Here are my feedback :

 

1. Happy to see that you can actually pass Target Page Params :) question variables passed are encoded e.g. "," is "%2C"

2. I am missing Target Enterprise Workspace support - It's a must for us to move to the tag as we have multi-department target install. I try to pass it as "custom dimension" but didn't do the magic - will it be added before the final release? - SOLVED PASSING IT As Target Page Params .. still needs actual validation.

2. I have found one JavaScript error so far. 

Uncaught TypeError: window.__TEALIUM.adobe.target.css.removeRender is not a function
    at Object.u.showAllDivs (utag.js:136)
    at utag.js:147

4. Haven't seen any flicker issue yet - but need to run some A/A test before I can confirm.

 

More to come but very happy so far!

Tealium Employee
Posts: 363
Registered: ‎09-01-2015

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Good morning @zhaque

 

  1. That seems to be something the Target tag is doing. We aren't doing any encoding when we pass it through.
  2. Could you provide some information around Target Enterprise Workspace, and what validation it is you require?
  3. This has been solved in the version currently in QA

Adrian

Ask me anything Tealium related or Javascript, or NodeJS. But not cooking, can't do that.
Please remember to mark solutions as accepted for future searchers.
Regular Contributor
Posts: 80
Registered: ‎06-06-2017

Re: Adobe Target directly on site and Adobe ID Service + Adobe Analytics in iQ

Hi @adrian_browning,

 

Kevin Faurholdt have dound the cause of the error, and writes to me, that he will get the fix in the upcoming version of the tag.

He also "hardcoded" the change into the tag, in the profile I am testing it in.

 

Best regards,
Peter