Cumulative Layout Shift from Pop-Ups (PageSpeed Insights)

Hello!

According to Google’s PageSpeed Insights, our site is hit with a considerable layout shift when using Elfsight, especially the Pop-up widget. This is mainly an issue on Mobile.

Without Elfsight Popup - 0.043
With Elfsight Popup - 0.442

For reference, anything above .01 is considered a failure to Google.
Is there anything we can do to minimize this shift on Mobile?

Thanks!

1 Like

Hello and welcome to the forum!

I understand your concern, but I’d love to explain a couple of things regarding the way our widgets work.

The first thing is that we’ve programmed them to load after the rest of the page content gets loaded. We have done so specifically in order not to slow down the loading speed of your entire page. So while it seems that the widgets are slow, they’re actually waiting for your entire page to load before they come up.

Also, another thing to keep in mind is that our widgets are actually full-powered website applications. As such, they’re very powerful, allow to do lots of things, inclusing dynamic loading, and of course, they will take some of the site’s resources, though we’re doing our best to keep it to a minimum.

I do hope it explained things, but if you have other questions, please feel free to leave them here!

Hi Helga,

This isn’t necessarily a speed issue, as it is a formatting issue. Cumulative Layout Shift occurs when the Elfsight Widget pushes other elements further down the page (when using a banner for example).

Is there a way to set the dimensions of the Elfsight code so that there is space pre-define to avoid the rest of the page shifting once the Elfsight code loads?

3 Likes