To get the cached version of your widgets, you can make a request to our cache server. This is not only faster than using Judge.me API but also allows multiple widgets to be loaded in a single request. To make a request to the cache server, use the following endpoint:

https://cache.judge.me/widgets/shop_platform/shop_domain
?public_token=?
&preview_badge_product_ids=?
&review_widget_product_ids=?
&reviews_tab=1
&featured_carousel=1
&all_reviews_page=1
&verified_badge=1 &all_reviews_rating=1 &all_reviews_count=1


Notes: 

  • Keep only the needed widgets. Replace `?` after `=` with a comma separated product ids.
  • For Reviews Tab and Featured Carousel you should also fetch the all reviews rating and count. It is not necessary for other widgets.
  • For this request to work, you will need to include your public API token in the params in Settings>Integrations>Developers> Judge.me API.

Lastly, you will need to change the widgets for our cache server and add the appropriate scripts. To do so, follow the instructions in our help desk article