Skip to main content

I embedded a Klaviyo form on a Shopify page the form is taking sometimes 30 seconds to appear on various devices.
https://gympluscoffee.com/pages/varsity-collection-coming-soon

Any insights on how to improve?

Hello @ashgc1997 ,

 A client recently encountered an issue where her  Klaviyo embedded form takes up to 30 seconds to appear on various devices. After some investigation, I found a few potential causes and solutions that significantly improved the load time.

1. Optimize Form Code:

Ensure the form code is as lightweight as possible. Sometimes, unnecessary elements in the code can cause delays. Consider minifying the code and removing any extraneous scripts that aren't essential.

2. Check for Conflicting Scripts:

Shopify themes often have multiple scripts running simultaneously. These can conflict with the Klaviyo form script, causing it to load slowly. I recommend reviewing the Shopify theme's code to identify any conflicts. Disabling or deferring non-essential scripts could help.

3. Lazy Loading:

If your form is placed lower on the page, enabling lazy loading for images and other content can help the form load faster by prioritizing critical elements first. This way, the form can appear as soon as the user scrolls to it.

4. Reduce Server Response Time:

Slow server response times can also affect how quickly forms appear. Ensure your Shopify store’s server is optimized for speed. This can include using a faster hosting service or a CDN (Content Delivery Network) to reduce latency.

5. Test Across Devices:

It’s crucial to test the form across multiple devices and browsers to ensure consistent performance. You might notice that the delay occurs more on certain devices or browsers, which can help in narrowing down the issue.

 

I hope this helps!


Reply