Skip to main content

I am using Magento 2.

I am using “Create Event” endpoint (https://a.klaviyo.com/api/events/) https://developers.klaviyo.com/en/reference/create_event

In my store I am sending multiple tracking requests at a time.

If I send 5 requests, only 3 is received in klaviyo.

Is there a way to send bulk requests?

 

Hi @jason.d !

 

I’m going to check on this with Engineering and I’ll update the thread ASAP!

Best,

Brian


Hi @jason.d!

Turns out that this behavior is due to a feature of our Create Event and Create Client Event called unique_id. This screenshot is from the API docs for these calls:

 

 

To summarize, if you don’t include a unique_id value in the different calls, Klaviyo will default to using the timestamp as the unique_id - which means that if you’re sending multiple events at the same time, Klaviyo will assign them all the same unique_id, for which there is a limit of one event per profile per second.

 

This is all to say that you can work around this behavior by assigning a unique_id to each new create event call.

 

Best,

Brian


Hi @Brian Turcotte 

Thank you so much for the response. I will try to check on the unique_id part in sending the event. I hope this might help.

 

Thanks,

Jason D


Reply