Highlighted

storing adobe marketing cloud visitorID in an Tealium Variable

Silver Contributor
Silver Contributor

Hi, 

 

Javascript I was using the snippet below to collect visitor ID.. 

 

var visitor = Visitor.getInstance("XXXXX@AdobeOrg");
var mcvid = visitor.getMarketingCloudVisitorID();

 

How do I do this in Tealium? Store the ID in to a variable and then pass it to Adobe in an eVar.?

3 REPLIES 3
Highlighted

storing adobe marketing cloud visitorID in an Tealium Variable

Silver Contributor
Silver Contributor

Hey @zhaque

 

There are a number of ways you can problaby do this, but the one that comes to mind would be to add the code you have in your question to a Javascript Extension in IQ. (Click on Add Extension > Advanced > Javascript Code). map your extension to "All Tags" and set the execution to "After Load rules"

 

Once it's added there, you have regular javascript variables you can anything with. To add it to the UDO so you can map them to the Adobe Analytics Tag  you need to add the two variables to the Data Layer Tab (Click on Add Variable and add the variable name as the source and change the type to 'javascript variable'). 

 

Now your variables should be part of the UDO, so you can now go to your Adobe Analytics tag and map them like a regular data element. 

 

Good luck!

Highlighted

storing adobe marketing cloud visitorID in an Tealium Variable

Silver Contributor
Silver Contributor

Thanks @JerTippets

 

Only think I would like to add is you need to use the "b" object in the JS extension. Many thanks for your help. 

 

On a different note. Have you or anyone have taken stock of the following :

 

Total number of Tealium visitor ID issued (if you are storing it in an eVar)

vs.

Total number of Adobe marketing Cloud ID issued (if you are storing it in an eVar)

 

Why is there a difference? and which one is better to use as Visitor ID? 

Highlighted

storing adobe marketing cloud visitorID in an Tealium Variable

Silver Contributor
Silver Contributor

Hey @zhaque

 

That's a great question. I haven't done an audit, but it would be interesting to see how they compare. Really what you are comparing is how effective each tool's black box processing is. Each of them will promise to filter out spiders, bots and both claim to be best in class when it comes to visitor stitching. that would be interesting to see which ID is more accurate.

 

I would honestly want to collect Tealium's ID, Adobe MC ID, the users IP Address as well as the user agent in both Adobe Analytics and Tealium's Data Access just to see what comes out the other end. 

 

I am persoanlly biased against Adobe, not for any factual reason, just  chip on my shoulder. But the data guy in me says that I should see the data before making judgement. 

 

Let us know what you find out. I am realy interested.