Hi folks - I needed help figuring out how to get the UTM_Source and UTM_Campaign properties to pipe into the correct system fields for Source and Campaign in Klaviyo.
Destination ID: 2ZTrqg6lOiewftamFwLFWSFLQLR
Example event:
{
"version": "1",
"type": "REST",
"method": "POST",
"endpoint": "
https://a.klaviyo.com/api/events",
"headers": {
"Authorization": "******1a20",
"Content-Type": "application/json",
"Accept": "application/json",
"revision": "2023-02-22"
},
"params": {},
"body": {
"JSON": {
"data": {
"type": "event",
"attributes": {
"metric": {
"name": "Patient sign-up completed"
},
"properties": {
"user": {
"name": "Prasid Pathak",
"email": "prasid+test27@consolidate.health"
},
"campaign": {
"utm_source": "flyer",
"utm_campaign": "flyermantry"
}
},
"profile": {
"$email": "prasid+test27@consolidate.health",
"_id": "f2c7bda5-d2bf-4526-86b8-641d867a79e4",
"name": "Prasid",
"opted_in_data_sharing": false
},
"time": "2024-02-27T14
0603.519Z"
}
}
},
"JSON_ARRAY": {},
"XML": {},
"FORM": {}
},
"files": {}