ECID Format and Validation Rules | Community
Skip to main content
New Participant
November 27, 2024
Solved

ECID Format and Validation Rules

  • November 27, 2024
  • 3 replies
  • 1244 views

Hi all,

 

We're sending data to Adobe Analytics through Edge Network API and XDM implementation without using any SDK. We need to generate valid ECIDs server-side, but we're encountering validation issues.

 

The documented rules state that ECIDs must:
1. Be exactly 38 characters long

2. Contain only numbers

 

While these rules work for some combinations and successfully map to sessions/users, we've found inconsistencies:

 

Working ECIDs:
89232101183523015761846514365738537228
91232101183523015761846514365738537228
90000000183523015761846514365738537228

 

Non-Working ECIDs (despite meeting basic rules):
94232101183523015761846514365738537228
91999999999999999999999999999999999999

Could someone please share the complete validation rules that ECIDs need to pass? Are there specific number ranges we should avoid?

Thanks!

 

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 RiteshY18

@pavelkr1 (ECID) without using Adobe’s SDK is not recommended because the ECID follows strict rules defined by Adobe's Visitor ID Service. However, if needed ensure to generate at server and generate/ validate UUID v4 Rules

3 replies

arpan-garg
New Participant
December 5, 2024

Hi @pavelkr1  - Agree with what @riteshy18  mentioned, please don't try to generate an ECID via some function. 

kautuk_sahni
Employee
December 2, 2024

@pavelkr1 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
brekrut
Employee
December 2, 2024

Hello @pavelkr1 

 

Can you please clarify what you are attempting to solve?  Are you attempting to generate an ECID from a tool which is not part of the Adobe Web SDK visitor service?

 

 

RiteshY18
RiteshY18Accepted solution
New Participant
December 1, 2024

@pavelkr1 (ECID) without using Adobe’s SDK is not recommended because the ECID follows strict rules defined by Adobe's Visitor ID Service. However, if needed ensure to generate at server and generate/ validate UUID v4 Rules