Bug report: We are seeing a bug with the Klaviyo ...
# support
t
Bug report: We are seeing a bug with the Klaviyo destination. User properties/traits are not being put in the correct spots in the API call to klaivyo. Their documentation (https://developers.klaviyo.com/en/reference/create_event) says user traits should be under
profile.attributes
and
profile.attributes.properties
whereas event properties go under
attributes.properties
. Instead, we are seeing user properties/traits being combined with event properties and they are all put in
attributes.properties
.
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.
t
Here is a payload from one of our events
Sign Up Completed
Untitled
This is the payload getting sent to Klaviyo. Notice the event properties and user properties/traits are all combined under
attributes.properties
. This is wrong, and I would expect to see them broken up in
attributes.properties
vs
profile.attributes
Important note: We are using the newly added "flattening properties" feature that was added recently which is why the properties are flatted from their nested structure.
Looking at the source code for the transform, I don't see any work in teh
trackRequestHandler()
to set properties for
profile.attributes
. However I do see this which i this may be what's causing the issue? https://github.com/rudderlabs/rudder-transformer/blob/049f5e8380edf01d6d743aede880e41b1dba95e5/src/v0/destinations/klaviyo/transform.js#L196[…]96C40
m
I have raised a ticket for this.
t
Any update on when this would be resolved?
m
The tentative release date on this is 13 Sep 2023.
s
Hey @thankful-gpu-70135 this was released today
👍 1