Using Custom visitor ID in Analytics | Community
Skip to main content
Adobe Champion
March 3, 2022
Solved

Using Custom visitor ID in Analytics

  • March 3, 2022
  • 2 replies
  • 1911 views

Hi Team,

 

We have a web portal on which login is mandatory and hence we collect the customer ID of every visitor.

We want to use our own customer ID to identify visitors instead of ECID. 

 

We tried implementing setCustomerID method, but not sure of which metric to see in workspace.

 

Could you please suggest the method or point us to a valid documentation ?

 

Thanks,

Kumar 

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

If all you need is to be able to count your unique visitors using your customer ID, then create the eVar like what Kumar had suggested, but then in AA, use the APPROXIMATE COUNT DISTINCT with that eVar to get unique customer ID counts.

2 replies

kaush1889
March 3, 2022

Hi @kumarvaibhav ,

 

It's not a suggested approach to use setCustomerID as many of the Adobe integrations might not work with it.  Instead, you can pass the Visitor ID in an eVar and then create a Virtual Report Suite under which you can enable Cross-Device Analytics by selecting the checkbox "Stitch user visits across devices" as shown in the below screenshot:

 

 

Note, that this needs a backend configuration by Adobe as well where you need to reach out to Adobe Customer Care providing the eVar and asking to enable Cross Device Analytics on the report suite and opt for Field-based stitching.

 

Here is the documentation around it.

https://experienceleague.adobe.com/docs/analytics/components/cda/overview.html?lang=en

 

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
March 3, 2022

If all you need is to be able to count your unique visitors using your customer ID, then create the eVar like what Kumar had suggested, but then in AA, use the APPROXIMATE COUNT DISTINCT with that eVar to get unique customer ID counts.

Adobe Champion
March 3, 2022

Thankyou for your suggestion. We are currently using this method. However it has 2 disadvantages

 

  1. This will give us a unique count, still the visualization like Cohort, fallout will be based out of ECID. We need some methodology to identify users through our own ID
  2. If the no. of profile IDs reaches above 500,000, then due to bucketing limitation of Adobe ("Low Traffic Value"), the calculated metric will tend to give wrong values

kaush1889
March 4, 2022

That is where the Cross-Device Analytics comes into picture. This will ensure proper reporting and you get People metric instead of Unique Visitors.