The Write-a-Review form is a fully responsive form that captures reviews from your customers, including images and videos. The Write-a-Review form is a JavaScript component, hosted on a standalone page, where consumers can go to write a review about your products.

Write a Review form

This page contains the following sections:


Wrapper Page

Before you add the Write-a-Review code to your site, you must create a standalone wrapper page, since the Write-A-Review form requires a URL to link from Post Purchase Emails. As a best practice, PowerReviews recommends creating your Write-A-Review wrapper page using a URL similar to the following: www.yourdomain.com/write-a-review. Ensure that you include your site’s header and footer on the wrapper page, with the PowerReviews Write-A-Review code in the content container. Check out PowerReviews' Demo Store to see an example of what a wrapper page looks like after code is applied to the page.

The wrapper page is a critical component to your Write-a-Review form displaying correctly and for your follow up email to link to the correct form. A wrapper page is a blank HTML page, that you create on your website, that incorporates your website style. You add the Write-a-Review code, with values specific to your product and merchant, provided later on this page to your blank HTML wrapper page. Once you add your Write-a-Review code to this blank wrapper page, the PowerReviews JavaScript reads the values on the page, and then displays the appropriate form for your customers to leave reviews on products and services.


To create the Write-a-Review form, you need the following variables, provided to you via Basecamp by your Implementation Engineer or Client Success Director: API Key, Merchant Group ID, and Merchant ID.

You also need to verify your locale and page ID for your product.

Adding the Write-a-Review form

To add the Write-a-Review form to your site:

  1. Review the aforementioned prerequisites.
  2. Create your Write-a-Review wrapper page on your site.
  3. Install the Write-A-Review container.
    • To install the container, copy, and then paste the following HTML element into your HTML page where you want the Write-A-Review form to appear: <div id="pr-write"></div>
  4. Install the Write-A-Review initialization code.
    • Copy, and then paste the code snippet at the bottom of your <body> tag.
  5. Replace the following values with your specific information. Ensure when you update the values, you remove the carats.
    • <API Key> with your provided API Key.
    • <Locale> with the locale for your site. For example en_US.
    • <MGID> with your provided Merchant Group ID.
    • <Merchant ID> with your provided Merchant ID.

<div id="pr-write"></div>
<script src="https://ui.powerreviews.com/stable/4.1/ui.js" async></script>
    window.pwr = window.pwr || function () {
       (pwr.q = pwr.q || []).push(arguments); 
    pwr("render", {
      api_key: '<API Key>',
      locale: '<locale>',
      merchant_group_id: '<MGID>',
      merchant_id: '<Merchant ID>',
      on_submit:function(config, data){
      components: {
        Write: 'pr-write'

Write a Review Configuration Options

The following parameters are all possible variables you can pass within the JavaScript configuration in the source code for your Write-a-Review page.

Ensure that when you add these parameters that you include your specific information, and hard-code these values. The URL of the Write-a-Review form will NOT populate the parameters on your page, and can cause your form not to work properly.

Parameter Description Required?
merchant_id Your merchant identifier. Yes. Either your Merchant ID or the combination of your Merchant Group ID and your Site ID is required.
merchant_group_id Your merchant group identifier. Yes. Either your Merchant ID or the combination of your Merchant Group ID and your Site ID is required.
locale The locale of your site. This defaults to en_US. Yes
unique_review_id Your internal unique identifier for the review. This parameter ensures that duplicate views don't get created. No
merchant_user_id Your unique identifier of the customer who creates the review. If you don't assign user IDs to all of your customers, and have no values for this field, you must set this value to an empty string, "". Don't use the null character value NULL; a quoted string value of "0", "NULL", or "null"; nor a string of blank space characters. No
merchant_user_email The email address of the customer creating the review. No

Designates a source for the review. You can add web, email, paid_web, or paid_email as the value for this parameter.

Web - review submitted via website Write a Review link.

Email - review submitted via direct link from a Post Purchase email. This assigns the Verified Buyer badge.

order_id The ID of the customer's order associated with the review. No
return_url When set, a Continue Shopping link appears on the Write a Review Thank you Page, that links to the URL you provide for this parameter. This URL should be fully qualified and not relative. No
style_sheet The URL to your CSS override sheet. No
disclosure_code This parameter denotes a sampling or sweepstakes campaign. You can add Sampling or sweepstakes as the value for the parameter. No

You can also pass parameters in the Write-a-Review form URL to customize the experience for your customers. By passing parameters in the URL, the parameters override any JavaScript passed in your Write-a-Review form.

To pass parameters in the URL, take any of the parameters listed in the table and prepend pr_ to the parameter. For example, pr_disclosure_code=sampling.

Required Minimum Characters

Research conducted by PowerReviews has found that requiring consumers to reach a minimum amount of characters when writing a review boosts the length of reviews by 15 percent. As such, you can opt to impose a minimum characters requirement in the comments field of your Write-a-Review form if you wish to. You will choose the amount of characters that will be required, and then the consumers' entry into the comments field will have to reach that requirement in order for them to submit their review.

Contact your Client Success Director for more information, or to implement Required Minimum Characters.

PowerReviews recommends 50 characters and best practices for Required Minimum Characters.

Pre-Populating Write-a-Review Fields

You have the ability to pre-populate fields on your Write-a-Review form. This is helpful if your site requires customers to log in, because you can pre-populate the form with your customers' first name or a user name that they use on your site.

You can pass the following standard parameters in the URL of your Write-a-Review form to prepopulate fields:

  • pr_name - the user name or nickname of the person leaving the review.
  • pr_location - the location of the person leaving the review.
  • pr_headline - the headline, or title, of the review.
  • pr_rating - a value of 1 to 5 that signifies the star rating.
  • pr_comments - the review or comments of the review itself.

You can also pass in additional parameters in the Write-a-Review form URL. To locate these additional parameters:

  1. Navigate to your PDP.
  2. Right-click on the PDP, and then select Inspect.
  3. Navigate to the Network tab in Developer Tools.
  4. Locate the form fields you want to pre-populate, and then make note of the key.
  5. Add the key to the URL of your Write-a-Review form, and then specify the value you want to appear in the form.

As a best practice, you should only pre-populate fields on the Write-a-Review form that assist your customer in writing a review. You should avoid pre-populating fields that gather your customers' opinion.

Updating Reviews

Customers can return to and update their reviews following an experience with your customer service team and your products. If your team frequently interacts with customers who leave low ratings or confusing reviews, your team can engage with them to update their review once their issues have been resolved or questions have been cleared up. Contact your CSD today if you would like to pilot this new feature. For more information, see Updating Reviews.

Custom Questions

You have the option of adding Custom Questions to your Write-A-Review form. For example, say you want to get UGC about the benefits of a credit card your customers prefer.

merchant specific question on display

You’d add a custom question asking, “Which card benefits do you enjoy the most?” You could have this question appear in a few different ways:

  • As a text box, where the customer would write their answer.
  • As a sub-rating, where the customer would select 1 out of 5 stars for the scent of the product.
  • As a radio button, drop-down, or checkbox, where the customer would select the relevant answers, like “too strong, too light”

During implementation of PowerReviews, tell your Implementation Engineer or Client Success Director that you’d like to add custom questions to your form. You receive two custom questions to add to your form. You can add more than two custom questions at an additional cost. The custom questions appear in the same order on your Write-a-Review form and the review submitted from your customers.

When you discuss the custom questions you want to add with either your Implementation Engineer, or your Client Success Director, you can also discuss where you want your custom questions to appear. You can have the custom questions appear in the following places:

  • Only on the Write-A-Review form.
  • msq on war form

  • On the Write-A-Review form, and individual reviews on your PDP.
  • On the Write-A-Review form, and the Review Snapshot on your PDP.
  • On the Write-A-Review form, individual reviews, and the Review Snapshot on your PDP.

You can make custom questions optional or required. Ensure you notify your Implementation Engineer or Client Success Director of which option you prefer when you make your request.

Track a Campaign

You can add the pr_campaign_id variable to your Write-a-Review form to measure or count the number of reviews produced by specific tactics or experiences.

User Scenario

Sally at BrandX wants to see how many users leave a review of Product Y after she interacts with her users via Facebook. She wants to know if BrandX gets more reviews after reaching out directly to their users, so that BrandX can increase their coverage through social media campaigns. Sally calls this campaign "facebook" and adds the name of the campaign to the pr_campaign_id variable, and then adds the variable to the URL of her Write-a-Review page.

She sends the updated URL to users after she interacts with them via Facebook. After a few days of the social media campaign, Sally accesses the All Reviews Report in the Analytics & Insights tool, and sees that they're gaining more reviews as a result of the social media campaign.

Adding Track a Campaign

If you want to add a campaign ID to your Write-a-Review form URL, you must first decide on a name for your campaign. You append the pr_campaign_id variable with the name of your campaign(s) to the end of your Write-a-Review URL. In the example of the user scenario above, the Write-a-Review form URL with Track a Campaign added would appear like the following:


For more information on Write-a-Review URLs, see Write-a-Review.

Reviewing Your Metrics

After you add the variable to the URL of your Write-a-Review form, you can see the number of reviews produced by social media interactions in the All Reviews report in the Analytics & Insights platform. To see the results of your campaign:

  1. Navigate to the Analytics & Insights platform.
  2. Click the All Reviews Report.
  3. Click Edit Columns.
  4. Select Campaign ID.

You now see the reviews you collected via your campaign.

Frequently Asked Questions

How can we edit the page scrolling that occurs after a review is submitted?

The on_submit() function within the PowerReviews code controls the scrolling. This JavaScript can be edited or removed as needed.

What text can we change on the Write a Review form?

Reach out to your Client Success Director to ask about making changes to the text headlines on a WAR form, but keep in mind that such changes are global and will affect all ‘Write a Review’ forms that you use.

Are the Bottom Line or Was This a Gift fields required? Can these questions be removed?

These fields are not required, and can be hidden through CSS. If you would like to have them removed entirely by PowerReviews, this will require reaching out to your Client Success Director to inquire about custom templates.

What kinds of questions can be added to a template?

Merchant-Specific Questions (MSQs) can be added to either standard templates or custom templates. MSQs can be in checkbox, radio button, or drop-down format. Please reach out to your Client Success Director for pricing and information.

Our customer is receiving the following error when attempting to write a review: "An error has occurred while loading necessary components. We are looking into the problem. Please try again later." Why is this happening and how can we resolve it?

This error is most commonly displayed when a reviewer is using and ad-blocking plug-in in their browser. These add -ons prevent PowerReviews from receiving iOvation black box data which is utilized to prevent fraudulent reviews from being submitted. You can find more information on how PowerReviews uses iOvation validation here.

We recommend that you ask the customer to disable their ad-blocking plug-in, add an exception for your site, or to use a separate browser which does not have this feature enabled to submit the review to ensure that we receive this information and are able to validate the review’s authenticity.

PowerReviews can also disable the forced validation of the iOvation data, allowing reviews to be submitted without it while still collecting the information for other reviews if it isn’t blocked. This is not a recommended solution since it impacts our ability to verify authenticity of the content, and may prevent the review from being able to be syndicated (if you are participating in syndication). If you still wish to disable this feature, please reach out to PowerReviews Support.

Need more help? Contact us!