Expand my Community achievements bar.

Is there a way to see all the segments you are qualified for on the site with web sdk enabled?

Avatar

Level 6

Hi there,

 

As per the title, some times we want to do on the spot QA of the segments that profiles is eligible for while they are on the site. I understand you can see in AEP profile, but there could be the possibility of discrepancy of what actually is reflected while the customer is on the site. 

 

Is there a way to see what segments the customer belongs to, either through maybe the debugger or something?

 

Thanks.

1 Reply

Avatar

Level 4

Hi @akwankl 

You can POST to the edge network via this interact call: https://edge.adobedc.net/ee/v2/interact?dataStreamId={{datastream_id}}

 

{
    "event": {
        "xdm": {
            "identityMap": {
                "CUSTGUID": [
                    {
                        "id":"{{cust_guid}}",
                        "primary": true
                    }
                ]
            },
            "{{tenant_id}}": {
                "CUSTGUID":"{{cust_guid}}"
            }
        }
    }
}
 
You would then be able to see the segment membership of the specific identity reflected on edge.