How configured Customer IDs for Adobe's Experience Cloud ID Service tag

Bronze Contributor
Bronze Contributor

Hi, collegues)
I have got in stuck with Customer IDs in Adobe's Experience Cloud ID Service tag. 
I need to do this:
visitor.setCustomerIDs({
"customerId":{
    "id": b.customerId,
    "authState":Visitor.AuthState.AUTHENTICATED
}
I suupose that its better to use mapping in Tag.
Screenshot_4.png

Please, help me with it

3 REPLIES 3

How configured Customer IDs for Adobe's Experience Cloud ID Service tag

Employee Emeritus

Hi @Vaytekus_Olha 

 

 
1. Add a Javascript Extension and Scope the Extension to the Adobe Analytics Tag so that it runs after the library is available
2. Add the function you provided for the ID sync
3. Add conditions to only fire when the user is logged in and authenticated
IW-3K-Nv1GPIqVIkCNCjsr7TZRUsDI53Zw.png (1689×939) 2020-05-13 15-42-49.png
Please let me know if that helps.
 

How configured Customer IDs for Adobe's Experience Cloud ID Service tag

Bronze Contributor
Bronze Contributor

Thank you @namngo :)
In Adobe Experience Cloud Debugger in Target tab I don't find ID and AuthState as parameters: vst.customerId.Id and vst.customerId.Auth.

Screenshot_5.png
I have more questions:
1 Should I send customerID and Auth state to Adobe analytics only?
2 Can I use Data Mapping in  Adobe's Experience Cloud ID Service Tag?
Screenshot_6.png

If yes, Does Tag call visitor.setCustomerIDs() and add these params to m-box?
Screenshot_7.png

What should be in "Customer ID" field?

Thank you)

How configured Customer IDs for Adobe's Experience Cloud ID Service tag

Employee Emeritus
 
Adobe will need to provide the "Customer ID" value that you could use in this tag. The mapping for ID property would look something like this where you replace the "test" value with the value that adobe provides you.  
 
For auth state, you can set up an extension where you set variable "auth_state" to integer value 1 when user_id is defined and populated and apply the mapping for auth_state variable that would look like below: 
 
Once you add these two mappings, you will be able to see the values populate for the Adobe experience cloud ID tag in the demdex call like below:
Public