Hey folks - had a couple questions about setting u...
# support
m
Hey folks - had a couple questions about setting up our first integration between RudderStack and Klaviyo: • right now I am capturing UTM_Source and UTM_Campaign type properties on product signup events, but they're not mapping to the corresponding Source and Campaign properties when passed into Klaviyo - how can I fix that? • right now we're capturing a full name property, but Klaviyo wants separate first name and last name. Is there a way to separate those out?
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
g
for separating first name and last name, you can use transformations - https://www.rudderstack.com/docs/transformations/overview/
m
Hi Prasid, as Pradeep mentioned you can use a user transformation for the second. However for the first, can you provide the following - Event sample - Destination_id (You can find this in the RudderStack destination page)
m
Hi! thanks! Destination ID: 2ZTrqg6lOiewftamFwLFWSFLQLR Event Sample: { "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": "Email sign-up" }, "properties": {}, "profile": { "$email": "prasid+test223@consolidate.health", "_id": "ae53abe2-aad5-45d2-bf85-229fdf38a17e", "name": "Prasid", "opted_in_data_sharing": false }, "time": "2024-02-23T161030.554Z" } } }, "JSON_ARRAY": {}, "XML": {}, "FORM": {} }, "files": {} }
m
Let me check on this and revert in a day.
Hi Prasid, can you provide a sample event from the Live-events, Preferably on that contains the utm_source and utm_campaign parameters?
m
oh good point! Here's one that has the paramters: { "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-27T140603.519Z" } } }, "JSON_ARRAY": {}, "XML": {}, "FORM": {} }, "files": {}
m
Sorry will look into this tomorrow
m
@shy-kite-21035 hi there! were you able to take a look at this?
m
As I mentioned in the other thread this is not supported by the destination. Sorry for the delayed reply.