Skip to main content
Solved

Klaviyo form loads slow on Pagefly landing page


Forum|alt.badge.img+2
  • Active Contributor I
  • 16 replies

Hi,

 

I notice that our Klaviyo form loads a couple of seconds after a page has loaded. Can we do something about that?

 

Best answer by Dov

Hello @Artur,

Thanks for sharing your question with the Klaviyo Community.

Our javascript (which is what powers forms like these) loads "asynchronously" -- meaning it won't slow down the rest of your site. This can sometimes lead to a difference of ~1 second between the page loading and the form appearing; this allows your site to load faster overall, and in our experience, doesn't lead to a lower response rate than a form that loads in-sync with the rest of the page. 

That said, we're constantly working on ways to make our code load faster, and I'd be happy to share your feedback with our team. If you'd prefer to use an alternative form, you can look into custom-coding a form like this: Add and Customize a Legacy Embedded Signup Form

This would allow you full control over the form's elements, and would require a developer's assistance to implement. 
 

View original
Did this topic or the replies in the thread help you find an answer to your question?

4 replies

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • Answer
  • July 7, 2021

Hello @Artur,

Thanks for sharing your question with the Klaviyo Community.

Our javascript (which is what powers forms like these) loads "asynchronously" -- meaning it won't slow down the rest of your site. This can sometimes lead to a difference of ~1 second between the page loading and the form appearing; this allows your site to load faster overall, and in our experience, doesn't lead to a lower response rate than a form that loads in-sync with the rest of the page. 

That said, we're constantly working on ways to make our code load faster, and I'd be happy to share your feedback with our team. If you'd prefer to use an alternative form, you can look into custom-coding a form like this: Add and Customize a Legacy Embedded Signup Form

This would allow you full control over the form's elements, and would require a developer's assistance to implement. 
 


Forum|alt.badge.img+2
  • Author
  • Active Contributor I
  • 16 replies
  • July 8, 2021

Hi Dov,

 

Thank you for your answer. sometimes it is really much slower as 1 sec, can we do something about that?

 

I have added a screen recording, sometimes it is much slower than this. https://we.tl/t-IqXO85iO6F


Forum|alt.badge.img+2
  • Author
  • Active Contributor I
  • 16 replies
  • July 8, 2021

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • July 8, 2021

Hello @Artur,

Thank you for the follow-up note. 

I recommend double checking your website for duplicate scripts of our onsite javascript. Having multiple or duplicate scripts installed can slow down the sign-up form load times as well. If you notice duplicate scripts, you should reach out to support to have them remove the duplicates.

Additionally, depending on your integration, you may have a larger version of the same snippet (highlighted in the article I hyperlinked above). If so, I recommend removing the larger, automatically injected snippet  and replacing it with the javascript snippet contained in the article.

Finally, I would check the overall composition of your site code. You may need some general refactoring to optimize speed on your site, which again I would contact a developer to assist with this task.

Thanks and have a wonderful rest of your day.