How to send Experience Cloud Visitor ID to Analytics Extension in Launch? | Community
Skip to main content
New Participant
Dec 8, 2021 9:57 PM UTC
Solved

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

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.
yuhuisg
yuhuisgAccepted solution
New Participant
Dec 11, 2021 10:05 AM UTC

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.

16 replies

yuhuisg
yuhuisgAccepted solution
New Participant
Dec 11, 2021 10:05 AM UTC

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.
Translate
k_o123Author
New Participant
Dec 11, 2021 4:17 PM UTC

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"?

Translate
yuhuisg
New Participant
Dec 12, 2021 5:58 PM UTC

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.

Translate
Pablo_Childe
New Participant
Dec 9, 2021 9:29 PM UTC

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

Translate
k_o123Author
New Participant
Dec 9, 2021 9:41 PM UTC

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? 

Translate
Pablo_Childe
New Participant
Dec 9, 2021 9:45 PM UTC

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

Translate