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

k_o123Author
December 13, 2021

I suspect that you haven't setup the Data Element and/or Rule correctly. You don't need to use a particular eVar, any eVar will do.

Can you please show screenshots of your Data Element and your Rule, including the Action where you're setting the eVar? Or if you're setting it in your AA extension itself, can you please show a screenshot of that setup?


Thank you @yuhuisg 

Below are screenshots showing the data element and AA extension setup. I've set it to eVar3 as eVar1 and eVar2 are being used in a global rule for other data elements.

 

Data Element

 

Extension Setup