This article describes the steps for viewing product scores on a Product List Page (PLP).
View a product score
- Go to the desired PLP URL. This example uses a sandbox website.
- Right-click the page and click Inspect. This will bring up Google Developer Tools.
- Search for the desired product.
- Go to the Network tab in Google Developer Tools.
- The response of the API that was hit starts with applyPersonalization.
- Select the Preview tab and click the products drop-down.
- Within the product 0 drop-down of the product, scroll down until you find the score of that product. This is the final score of the product.
View the score explanation
The breakdown of how your products are scored is important when marketing your products to current and potential customers. To view the breakdown of your score you will need to follow these steps.
This example uses a Configured Commerce base code Spire website, but when you're testing this you will want to use either your sandbox or production site. https://support.commerce.insitesandbox.com/
- Modify the product API request on your website URL as shown below:
[WEBSITE URL]/api/v1/products/?applyPersonalization=true&expand=pricing,attributes,facets,scoreexplanation,brand,warehouses,styledProducts,styleTraits,properties&includeAttributes=IncludeOnProduct&includeSuggestions=true&previouslyPurchasedProducts=false&query=[THE QUERY YOU MADE]&searchWithin=&stockedItemsOnly=false
- Add your search query to the area noted "the query you made" within the product API request. This example uses "water heater" for the query:
https://support.commerce.insitesandbox.com/api/v1/products/?applyPersonalization=true&expand=pricing,attributes,facets,scoreexplanation,brand,warehouses,styledProducts,styleTraits,properties&includeAttributes=IncludeOnProduct&includeSuggestions=true&previouslyPurchasedProducts=false&query=water+heater&searchWithin=&stockedItemsOnly=false
- Place the request in your browser and hit enter.
- Scroll down until you see the detailedFieldScores area, which will show you the breakdown of the scoring and how the final score was calculated.
For a greater understanding of how these scores are impacted, see Understand search ranking and relevance.
Please sign in to leave a comment.