--- title: "Generic (Other Platforms): Installing the Yotpo Star Rating" slug: "generic-other-platforms-installing-the-yotpo-star-rating" updated: 2024-04-01T14:29:50Z published: 2024-04-01T14:29:50Z canonical: "support.yotpo.com/generic-other-platforms-installing-the-yotpo-star-rating" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.yotpo.com/llms.txt > Use this file to discover all available pages before exploring further. # Generic (Other Platforms): Installing the Yotpo Star Rating Products Reviews ###### Supported plans Free, Starter, Pro, Premium, Enterprise ###### eCommerce Platform Custom The star rating is the element that contains the aggregated score of a product and how many users wrote a review about that product. The total amount of reviews written will appear next to the aggregated star rating. Below, see an example of the star rating on a product page. ![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/6918f322-eaa3-40ef-a19b-3e76f412f1ce.png?sv=2026-02-06&spr=https&st=2026-10-29T15%3A53%3A22Z&se=2026-10-29T16%3A53%3A22Z&sr=c&sp=r&sig=tIUuVC7BwCk%2BAy5RMwoLHnSyNwqsxWrayHWhs4N6Xi4%3D) #### Implementation To install the Star Rating widget, add the following code to your product pages: Please note: The data attributes should be replaced with the values of the relevant variables representing each element. ```markup
``` Please note: The data-product-id attribute only supports alphanumeric (a...z, A...Z, 0...9) and "_" and "-" symbols. The star rating will only appear next to products that have reviews. When the star rating is installed, if you click on it it will bring you to all the reviews of the product, which is why people usually insert the star rating code somewhere close to the product description near the top of the page. Tip: If you are experiencing problems with Star Rating installation, try moving your Star Rating code around until it is in a position that does not affect the layout of your store.If you experience issues with this feature, please contact [Yotpo Support](https://my.yotpo.com/contact_support).