Expand my Community achievements bar.

Exporting Segments in datafeed or API call

Avatar

Level 1

I'm trying to understand the best approach to export analytics segments tied to a specific identifier, most likely a value within an eVar. I'd like to be able to pull this as a daily feed into an external data lake.

 

The data feed looked promising, but I didn't see segments as an option within the columns.

 

Would the Segment API be the best approach?

2 Replies

Avatar

Community Advisor

@AtlasGu Yes, segments are not available in data feeds. Since segments can be defined visit and visitor level, they wouldn't able to match the data feed raw data of hit level. You can use the Segments API by using this tool: https://adobedocs.github.io/analytics-2.0-apis/#/

 

Avatar

Level 1

@Krishna_Musku How would I query the API if I wanted a batch export of all visitor IDs an their corresponding segments?