The TagJS is a simple and easy to integrate feature that allows, via a JavaScript widget, to display product information on your product sheets.
How does it work ?
The collected product or service reviews can be easily displayed on your product sheets using a dynamic script. (The TagJS widget)
You can set up the feature at any time from your Verified Reviews account: Display reviews → Applications→Display my product reviews via TagJS.
Implementation
The configuration of this resource is done in 6 steps :
- Activate the feature using the appropriate button
- Check the advanced configuration (enriched extracts and "useful review« functionality »)
- Copy and paste the provided script into the source code of your website (in the footer)
- Adjust the display of stars, notification volume, and content
- Place the tags on your form, make sure that the used references data-product-id, data-product-name and data-product-URL are identical to those stored in the database (id_product, name_product et url_product)
→ Dynamically fill in the yellow circled values above with the product information
⭐ Good to know
It is possible to display several product reviews on the same file, to do this, insert the references in question by separating them with a comma
data-product-id="xxxx,yyyy,zzzz"
6. Finally, select the final visual rendering from our two generic models
Warning !
Please note that to display reviews correctly in Tag JS, web resources must be generated and enabled.
Generating the Site reviews file in JSON format
In the Verified reviews Back Office, click on the Display Reviews > Review Backup then menu API Product, activate and generate the product reviews file in JSON format.
Do not forget to click on the Save settings orange button at the end of the page to save the configuration.