Klaviyo.js and Site Speed Reports

Last updated at:


Klaviyo’s onsite JavaScript is injected automatically through many of our ecommerce integrations, and you can manually install it for other platforms. This feature enables Klaviyo signup forms to appear, and can also allow you to track your customers’ actions while on your site when paired with additional code (e.g., to see what they’ve viewed or added to their cart). 

Klaviyo’s JavaScript and Site Speed Reports

If you find that Klaviyo’s JavaScript is impacting your website’s performance (e.g., PageSpeed score) and it was automatically installed through an integration, you can try manually installing it instead. This bypasses the website’s native tag manager and can result in faster loading of Klaviyo’s JavaScript. 

Additionally, if you aren’t using Klaviyo’s signup forms, make sure all the forms in your Signup Forms tab are set to Draft

Regardless of which installation method you use (e.g., through an ecommerce integration, or manually installed), Klaviyo’s JavaScript is loaded asynchronously. This means it will not block other aspects of your site from loading. However, Google’s PageSpeed Insights and other site speed reports may still flag it as a contributing factor in your site’s load times. 

Site speed and SEO are important to our customers, and Klaviyo is committed to minimizing the impact from our JavaScript. You will automatically see improvements as we release new updates. 

Additional Resources

Was this article helpful?
11 out of 14 found this helpful