How to send Experience Cloud Visitor ID to Analytics Extension in Launch? | Community
Skip to main content
December 8, 2021
Solved

How to send Experience Cloud Visitor ID to Analytics Extension in Launch?

  • December 8, 2021
  • 2 replies
  • 7660 views

We're looking to start tracking unique visitors using the suggested Experience Cloud ID Service.

We've set this up in Launch but it appears in the network logs that only the organisation ID is being sent to the Analytics suite, and not the Experience Cloud Visitor ID.

We are using the Analytics extension in Launch, but all current documentation and threads refer to DTM, Appmeasurment or VisitorAPI.js.

Could somebody please clarify how we can configure the Experience Cloud Visitor ID to be sent to Analytics Extension in Launch?

Thank you.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

You don't have to use code at all!

  1. Create a Data Element from the Experience Cloud ID Service extension > ECID. That data element returns the ECID Visitor ID.
  2. In your Adobe Analytics "Set Variable" action(s), set your eVar(s) with that new data element.

2 replies

Pablo_Childe
Community Advisor
Community Advisor
December 9, 2021

Just in your scode add a line like this:

 

/* Marketing Cloud ID */
s.eVarXX=_satellite.getVisitorId().getMarketingCloudVisitorID()

 

Where XX is your new evar defined for MID.

 

 

GLTU

k_o123Author
December 9, 2021

Thank you for your reply!

Is this directly in the Adobe Analytics extension config, or would I need to set up a new data element in Launch? 

Pablo_Childe
Community Advisor
Community Advisor
December 9, 2021

Depends on your scode config. If not then a data element could work. I have typically seen it in Launches Adobe Analytics module.

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
December 11, 2021

You don't have to use code at all!

  1. Create a Data Element from the Experience Cloud ID Service extension > ECID. That data element returns the ECID Visitor ID.
  2. In your Adobe Analytics "Set Variable" action(s), set your eVar(s) with that new data element.
k_o123Author
December 11, 2021

Amazing, thank you @yuhuisg 🙂 

 

For step 2, am I correct to assume that the "Set Variable" action is to occur inside a Rule? If so, what event do you recommend to trigger this Rule, and do you recommend to treat the data as a page view when "Sending a Becon"?

yuhuisg
Community Advisor
Community Advisor
December 12, 2021

Yes, the "Set Variable" action is inside a Rule. This can be a "global" rule that sets all of your required AA variables.

Alternatively, if you set your global variables inside the AA extension itself, then you can also set this eVar there.