Hello,
I am a web dev for our company that recently joined. We have some console logs that are constantly showing up on our website.
Unable to process event.
In clue on how to fix these?


Hello,
I am a web dev for our company that recently joined. We have some console logs that are constantly showing up on our website.
Unable to process event.
In clue on how to fix these?
Hi Drew,
Thanks for sharing your question with the Klaviyo Community.
The issue is typically due to the Klaviyo onsite.js
script being loaded with the defer
attribute. This causes the klaviyo.init()
and klaviyo.enable()
calls to run before the Klaviyo script has fully loaded.
The simplest fix is to remove the defer
attribute. Removing defer
will make the browser load and execute onsite.js
as soon as it’s encountered in the HTML. This ensures the Klaviyo object is ready before your inline script tries to use it:
<script src="https://a.klaviyo.com/media/js/onsite/onsite.js"></script>
Thanks, and have a great rest of your day!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.