Slow loading of Google review widget

We are using Capterra, G2 and Google reviews in our website. But Google reviews alone is fetching late. Please resolve this issue

1 Like

Hi @Info-Tech_Digital_Ma and welcome aboard :wave:

To make the widget appear faster on the page, you can remove the defer attribute from the widget installation code, which makes the widget load only after all other content on the page is loaded. Here’s what the code will look like:

<script src="https://static.elfsight.com/platform/platform.js" data-use-service-core></script>
<div class="elfsight-app-WIDGET-ID"></div>

Another way of making the widget load simultaneously is changing the defer attribute to async . Here is the code:

<script src="https://static.elfsight.com/platform/platform.js" data-use-service-core async></script>
<div class="elfsight-app-WIDGET-ID"></div>

Please replace WIDGET_ID in the codes above with the ID of your own widget and install it on your website.

Check it out and let me know if it helped :slightly_smiling_face: