Expand my Community achievements bar.

Segmentation API- Can I retrieve profiles from a segment dynamically?

Avatar

Level 1

Using API, can I retrieve profiles qualifying in a segment? Basically I want to know the profiles that entered into a cart abandonment segment, on the fly. I already have destinations activated, but the span is 3 hours, and we feel this is long.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 3

Hi there

 

I guess you could use the Preview and Estimate endpoint for that, depends on what type of evaluation method your segment is. And you could do this also with query service, by write a query against your profile snapshot dataset, e.g.

SELECT count(1) AS count_of_profiles
FROM profile_snapshot_export_{your dataset}
WHERE segmentMembership['ups']['{your segment id}'].status = 'realized';

Avatar

Level 1

I need to this via api only.