I'm facing an issue with a Klaviyo popup on my WooCommerce website. Here's what I'm experiencing:
- The popup is only appearing on our "Create a profile" page, even though we have configured it to display for all visitors on all pages. This behavior is consistent even when accessing the site in incognito mode.
- We have set the popup to show after a time delay, but it's not working as expected.
Here's the code snippet from our Klaviyo setup for the popup:
window._klOnsite = window._klOnsite || ; window._klOnsite.push(['openForm', 'XXXXXX']);
In my discussion with Klaviyo support, they informed me that the
klaviyo.js snippet is not present on my website pages. They suggested that this snippet needs to be added to my theme to enable Klaviyo sign-up forms and track site activity on my website. However, I'm unsure how to manually add this
klaviyo.js snippet. I also wonder if this requires adding or editing code in the header and footer of my site.
The Klaviyo WooCommerce integration on my site is correctly set up and functioning, but this popup issue persists. Could anyone provide guidance on how to resolve this issue? Is there any code I need to add to the header or footer of my website to make the Klaviyo popup work as expected?
Any help would be greatly appreciated.