Product Reviews — Sync Your Product Catalog via JavaScript
Sync your store catalog continuously, with no hassle.
Capturing Your Product Catalog
Before shoppers can leave Product Reviews, we first need to understand your product catalog. This allows ResellerRatings to associate reviews with the correct products, display product details during review collection, and power product-level widgets and analytics.
The setup process is simple and typically only requires adding a few snippets of JavaScript to your storefront templates.
How Product Catalog Ingestion Works
All Product Reviews collected through ResellerRatings come from verified customers of your store.
To make this work, your website sends product-level information directly to our servers whenever a shopper visits a product page or completes a purchase.
This information allows us to:
- Product Review collection and automatic catalog management
- Product Review display on PDPs
- Product review aggregation
- Google syndication support
Step 1 - Feed Ingestion Through Code Snippet
On each of your product pages, place the following code snippet and you’ll automatically start sending us data from that page straight to our servers. We will absorb the SKU level data provided and be able to communicate the purchases back to the user and tie it back when the review process comes along.
Just copy our Javascript onto the top of your product page template, with dynamic variable replacement for sku/item#, product title, and product image url, and into your thank you/success page post checkout. If you're not a developer, or not comfortable with code, you can pass this onto your webmaster, or contact us so we can help you get going.
|
<!-- Product Catalog Ingestion Script, goes at the top of the page --> <script> var __RRPRWidget_Settings = { name: "THE_PRODUCT_NAME", sku: "PRODUCT_SKU", mpn: "PRODUCT_MPN", gtin: "PRODUCT_GTIN", img: "PRODUCT_IMAGE_URL", url: "PRODUCT_URL", brand: "PRODUCT_BRAND", category: "PRODUCT_CATEGORY", parent_id: "PARENT_LEVEL_ID", //
}; </script> |
Required Fields
The following fields are required for proper product ingestion.
|
Field |
Description |
|---|---|
|
PRODUCT_SKU |
Unique product SKU or item number |
|
PRODUCT_NAME |
Product title displayed to shoppers |
|
PRODUCT_IMAGE_URL |
Public image URL for the product |
|
PRODUCT_URL |
Full product page UR |
Optional Fields
These fields are optional but recommended for better catalog organization and syndication support.
|
Field |
Description |
|---|---|
|
PRODUCT_CATEGORY |
Product category name - this allows you segment a variety of data analytics report by categories |
|
PRODUCT_GTIN |
Global Trade Item Number (GTIN/UPC/EAN) |
|
PRODUCT_MPN |
Manufacturer Part Number |
|
PRODUCT_BRAND |
Product brand name |
Step 2 — Add the Final Loader Script
Place the following script near the bottom of your product page template.
|
<script |
-
Replace YOUR_SEO_NAME with your unique SEO name for ResellerRatings. SEO name can be pulled directly from MASTER SHEET
-
Replace PRODUCT_SKU with a variable to pull in the product SKU into the JS
Parent Level Product Support (Optional)
You can provide some optional data to associate products to parent level SKU's and have them share reviews. You can learn Multi Product Sharing.
parent_id: "PARENT_LEVEL_ID", - this can be whatever number you deem necessary. So whatever product shares this parent level ID, will share the same reviews.
parent_name: "PARENT_NAME", - the parent name of the top level product as it shows in the ResellerRatings portal or the
parent_image: "PARENT_IMG_URL", * optional
Now that we're loading your product catalogue into our system let's move onto the next step. That is - Choosing your collection methods.
Did this answer your question?