-
Issue description: After implementing Elfsight all-in-one review widget, our PageSpeed score has dropped quite a bit. The widget is placed below initial viewport, but still quite much affects the PageSpeed. Have we implemented it wrongly?
-
Link to the page with the widget in question: www.formheim.no
Hi there, @Formheim ![]()
I am so sorry for the inconvenience!
I’ve noticed that the widget’s installation code is placed in your website’s <head>. Could you please try to move it lower to the <body> and let me know if it helped ![]()
I am using the react-elfsight-widget package to load the widget, not manual HTML-tag
I am already using “lazy” attribute:
<ElfsightWidget widgetId="xxxx" lazy />
Got it, thanks! Please let me look into this with the devs. I’ll update you once I have their response ![]()
Hi there, @Formheim ![]()
Thank you for waiting!
Please try to add “first-activity” or “in-viewport” to the lazy attribute and let me know if it helped. Here is how it should look:
<ElfsightWidget widgetId="3d7518ac-e280-4221-958a-f80f190d7fa5" lazy="first-activity" />
That did the trick, thanks!
Perfect, you’re very welcome ![]()