<script> var klaviyo = window.klaviyo || y]; klaviyo.push(.'track', 'Custom Event', { // event data }]); </script>
The event isn’t showing up in Klaviyo. Any tips?
Page 1 / 1
Hey @multimerce
I am not 100% sure about this, but Sometimes, the Klaviyo tracking script might take a moment to load, so firing the custom event right after the script loads may cause issues. A common fix is to wrap the event trigger in a setTimeout or wait until the Klaviyo object is fully initialized.
I hope this helps and thank you for sharing your question here in the community.
Cheers
Arpit
Thank you @ArpitBanjara ,
I’ll try your solution but my concern was if the custom event tracking in Klaviyo is still possible of if it’s part of the old, discontinued API. I can’t see anything related to custom event tracking in the new one.
hey @Taylor Tarpley@kaila.lawrence
Can you check in about this with someone on your team?