klaviyo / magento2-klaviyo

38 stars 51 forks source link

Track Profile Activity Use Deprecated Request #146

Closed pmclain closed 2 years ago

pmclain commented 2 years ago

https://github.com/klaviyo/magento2-klaviyo/blob/688b85ea27649ef0a4e56f0f4e6edcd5d020e09c/Helper/Data.php#L131

The track events are using an encoded GET request which fails for larger payloads. I don't know the exact length but beyond a certain size Klaviyo rejects the events with 414 Request-URI Too Large. Klaviyo's API docs recommend sending the track event using the POST method.

https://apidocs.klaviyo.com/reference/track-identify#track-get

image

cykolln commented 2 years ago

Thank you for pointing this out, this has been added to our roadmap.

cykolln commented 2 years ago

This was fixed in release 4.0.2