Solved

Uncaught ReferenceError: Klaviyo is not defined

  • 31 May 2023
  • 1 reply
  • 141 views

Badge

Hi Team,

We are receiving the error that “Klaviyo is not defined” while triggering the event and the whole page is frozen in WordPress. It looks like Klaviyo is not initialized/loaded correctly. Is there any method or callback to ensure that Klaviyo is loaded successfully?

icon

Best answer by Brian Turcotte 1 June 2023, 04:56

View original

1 reply

Userlevel 7
Badge +30

Hi @Citrusbits!

 

I would start by closing the site and clearing your browser cache/history. Then, open a new window and log back into Klaviyo/WordPress.

 

Also, is this a custom integration with your WordPress site, or are you using a pre-built integration with an e-commerce platform/app like WooCommerce? This will help myself and other Community members obtain a better understanding of the issue. 

 

In the meantime, here are some Community threads that might help you get some context:

 

Thanks for using the Community!

- Brian

Reply