cancel
Showing results for 
Search instead for 
Did you mean: 
CommunityJedi22
Community Manager
Community Manager

This article discusses how to validate the Write-a-Review (WAR) form. To learn more about implementing the WAR form, click here.  Once the WAR form has been implemented, there are steps you can take to verify it is implemented correctly.

Verifying Placement of the Unified JavaScript File

The location of the unified JavaScript file on the page is important. PowerReviews' best practice is to place this call within the body of the page, not the head. To verify the location of this file, follow these steps:

1. Open up Developer Tools in your web browser (in Google Chrome, you can use the shortcut Cmd+Option+I to open on Mac, or Ctrl+Shift+I to open on Windows)
2. Either load the WAR page for the first time, or reload if you were already on this page
3. Select the Elements tab within the Developer Tools window
4. Use Ctrl+F to open the find dialogue and search for ui.js

CommunityJedi22_0-1756843452057.png

5. Ensure this is located within the <body> tags on the page. Placing the ui.js within the head of the page can lead to unexpected issues.

 

Validating via the API Call

If the PowerReviews code has been added properly and is functional, you should be able to see the call made to the PowerReviews writeservices API. To validate this call, follow these steps:

1. Open up Developer Tools in your web browser (in Google Chrome, you can use the shortcut Cmd+Option+I to open on Mac, or Ctrl+Shift+I to open on Windows)
2. Either load the WAR page for the first time, or reload if you were already on this page
3. Select the Network tab within the Developer Tools window
4. In the Filter field, enter writeservices.powerreviews.com

CommunityJedi22_1-1756843473393.png

5. Select the results and click on Payload

CommunityJedi22_2-1756843497752.png

6. Confirm that the merchant_id and locale values match the ones provided by PowerReviews. Also, ensure that the page_id is the correct value for the product being reviewed.

 

Validating Via Review Submission

You can also verify that the WAR form is properly implemented by submitting a test review and confirming that the review shows up in Moderation in the PowerReviews Portal. (This method of testing will require that you have a valid login to the PowerReviews Portal.)

1. Load your WAR page
2. Fill out your WAR form completely and click Submit
3. Log into the PowerReviews Portal
4. Click Reviews in the left-hand menu

CommunityJedi22_3-1756843523224.png

5. Click Native Reviews

CommunityJedi22_4-1756843544916.png

6. Enter the Page ID of the product on which you just wrote the test review

CommunityJedi22_5-1756843571588.png

7. Scroll down and click Search at the bottom of the page

CommunityJedi22_6-1756843594644.png

8. Find the review you wrote on the resulting Moderation page

CommunityJedi22_7-1756843614938.png

If your test review is present in Moderation as expected, this is an indication that the WAR form is implemented properly.

Version history
Revision #:
2 of 2
Last update:
‎12-02-2025 04:21 PM
Updated by: