Hi folks - I needed help figuring out how to get t...
# support
m
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-27T140603.519Z" } } }, "JSON_ARRAY": {}, "XML": {}, "FORM": {} }, "files": {}
m
Hey There! 👋 Your message has been received by the RudderStack team. 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.
Hey sorry, Prasid, I was OOO yesterday so did not get a chance to look into this.
Hey Prasid, the team mentioned the following. The only way to send the utm parameters to Klaviyo is in the event properties. Since Klaviyo has their own SDK they want to support the server side mainly for server events and hence do not support such client side parameters such as utm. Hence you can only send it in the event properties. See Klaviyo docs . Terribly sorry about the late reply, too many things going on at work.