I am using the Get Events API (v2025-01-15) to pull event data for specific metrics and return specific event properties (Ex: Campaign Name for Opened Email) and the associated profile information as well (Email, ID) . I am noticing that this returns “duplicated” data that is not matching what I’m validating when looking at a profile in the Klaviyo web portal and the “activity feed” for that same event. It isn’t true duplicate data, the UUIDs are unique, but the timestamps are all within seconds of each other and the Campaign Names look like nearly every campaign we have, not just one Campaign Name. Also in some cases the Campaign Name and timestamp for a profile are not even showing up in the web portal for the user, so I’m not sure where the incorrect data is coming from, could it be the way I am filtering? When I filter to a specific Profile ID and without the datetime filters the data comes through correctly, but I need all to query all profile info.
This is my URL: "https://a.klaviyo.com/api/events?include=profile&fieldseevent]="+field_list+"&fieldslprofile]=email,id&filter=equals(metric_id,%22"+METRIC_ID+"%22),greater-than(datetime%2C"+filter_date+"),less-than(datetime%2C"+var_new_filter_date+")&pagetsize]=100"
With Field List being:
"timestamp,"
"datetime,"
"uuid,"
"event_properties.Campaign Name,"
"event_properties.$klaviyo_bounce_category,"
"event_properties.machine_open,"
"event_properties.Bounce Type,"
"event_properties.URL"