Review on Website

In this article, you will learn how to use integrated platforms too write reviews and reward points.

For awarding points for the reviews submitted by customers, you can use our integrated platforms like:

  • Bazaar Voice
  • PowerReviews
  • Yotpo
  • Custom

Awarding Points for Bazaarvoice Reviews

If you are using Bazaarvoice for reviews, you can award points for approved reviews submitted by loyalty members without any integration. Zinrelo has integration with Bazaarvoice where we fetch the approved reviews from Bazaarvoice each day and award points to the customers who wrote them.

To enable this, go to the Review on Website activity in Program Settings >> Activities. Select "Bazaarvoice" in the Review Provider dropdown.

bazaarvoice integration

You will have to ask your Bazaarvoice contact to enable the SFTP for you. Once this is done, you can fill in the other required fields.
Sample SFTP details:
Bazaarvoice SFTP host: sftp-stg.bazaarvoice.com
Bazaarvoice SFTP username: Zinrelo
Bazaarvoice SFTP password: pswd111
Bazaarvoice SFTP directory: feeds ( This is the default directory. You can change the directory but that should still be in the home directory. Do not give the path for a sub-directory)

Bazaarvoice SFTP File Name format:
bv_zinrelo_incremental_standard_client_feed_YYYYMMDD.xml.gz
(The actual filename will look like bv_zinrelo_incremental_standard_client_feed_20180530.xml.gz)

Integration with PowerReviews

Zinrelo’s integration with PowerReviews allows you to seamlessly award points for published reviews submitted by loyalty members without any additional development. The integration fetches the approved reviews from your Power Reviews account every day and award points to the customers who wrote them.

To know more, please click here.

Integration with Yotpo Reviews

Zinrelo’s integration with Yotpo allows reward programs to seamlessly award points for published reviews submitted by loyalty members without any additional development. The integration fetches the approved reviews from your Yotpo account every day and awards points to the customers who wrote them.

How can I award points to my users for writing a review?

Step 1: Procure the Client ID and Client Secret for your Yotpo account.

  • Zinrelo’s integration with Yotpo is built using Yotpo's enterprise API. In order to authorize Zinrelo to make API calls on behalf of your account, Zinrelo will need the API keys.
  • Reach out to the account manager at Yotpo and they will provide the credentials to access the API.

There are two API credentials namely Yotpo API Key and Yotpo API secret. These API keys carry many privileges, so be sure to keep them secure! Do not share the secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Step 2: Configure the integration using the API Keys

  • Log into the Zinrelo Admin Console.
  • Navigate to Program settings >> Activities >> Review on website.
  • Under the review provider option, select Yotpo.
  • Once you select Yotpo, you will see the input boxes for the Yotpo API Key and Yotpo API secret.
yotpo integration
  • Enter the API key and API Secret that you procured in Step 1 and click on Save.
  • That’s it. You will have successfully set up Zinrelo’s integration with Yotpo.

Note:

  1. Zinrelo will start fetching the reviews every 24 hours and start awarding points. Please note that points will be awarded for ‘Approved’ reviews only.
  2. In accordance with the updated google guidelines for all of its seller rating partners which state that "merchants can not give users any financial incentives to write site reviews. This includes but is not limited to gift cards, discounts on future purchases, or anything of monetary value", Zinrelo is able to only award points for product reviews and not site reviews.

Custom Integration

To enable this, go to the Review on Website activity in Program Settings >> Activities. Select "Custom" in the Review Provider dropdown.

Custom Review

There are two ways to award loyalty points for this custom activity.

API

You can award points using the Award API endpoint.

Here are a few code snippet examples to help you with the implementation.

import requests
import json

headers = {'partner-id': 'your_partner_id', 
	   'api-key': 'your-api-key'}
payload = {"member_id": "[email protected]",
	   "points_passed": 100,
	   "activity_id": "write_a_review"}

response = requests.post(url = "https://api.zinrelo.com/v2/loyalty/transactions/award",
			 headers = headers,
			 data = payload)

if response.ok:
  info = json.loads(resp.content)
  if info:
	 #Call a function to notify the user
$fields = array('activity_id' => 'write_a_review',
		'points_passed'=>100,
		'member_id' => '[email protected]');
$fields_string = '';
foreach($fields as $key=>$value){
    $fields_string .= $key.'='.$value.'&'; 
}
rtrim($fields_string, '&');

$curlhandle = curl_init();
curl_setopt($curlhandle, CURLOPT_URL, 'https://api.zinrelo.com/v2/loyalty/transactions/award');
curl_setopt($curlhandle, CURLOPT_POST, true);
curl_setopt($curlhandle, CURLOPT_POSTFIELDS, $fields_string); 
curl_setopt($curlhandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlhandle, CURLOPT_SSL_VERIFYPEER, 0);

$headers = array();
$headers[] = 'partner-id:your_partner_id';
$headers[] = 'api-key: your-api-key';

curl_setopt($curlhandle, CURLOPT_HTTPHEADER, $headers);
$contents = curl_exec ($curlhandle);
$httpcode = curl_getinfo($curlhandle, CURLINFO_HTTP_CODE);
if ($httpcode==200){
   $info = json_decode($contents);
	if ($info){
	//Call a function to notify user
	}
}
curl_close ($curlhandle);

						

require "httparty"

response = HTTParty.post('https://api.zinrelo.com/v2/loyalty/transactions/award',
			:query=>{:member_id=>"[email protected]",
			:points_passed=>100,
			:activity_id=>'write_a_review'},
			:headers=>{"partner-id" => "your_partner_id",
				   "api-key" => "your-api-key"})
if response.code == 200
	body = response.to_s
	if body
		#Call a function to notify the user

Batch Mode

You can also award points for this activity using our batch mode processing technique.

Batch mode allows you to handle any custom activity performed by your users. This requires you to upload the user activity files in a specified format at a pre-specified FTP location. These files will then be read and processed by Zinrelo on a daily basis. To know more about batch mode processing technique, click here.

End User Experience

  1. The member will log in to the website store and navigate to the dashboard.
  2. After successfully logging in, the member will locate and click on the "Earn Points" tab.
  1. Subsequently, the member will choose the "Write a Review" activity from the available options.
  2. To proceed with submitting a review, the member needs to click on a hyperlink text or button.
  3. At this point, the member may be prompted to provide their email address or create a new account if necessary.
  4. Once the necessary information is provided, the page for submitting the review will open up.
  5. After the review has been submitted, it will go through a review process conducted by a reviewer.
  6. Upon approval of the submitted review by the reviewer, the member will be rewarded with the corresponding points.

What is the process of awarding the points for "Review on website" activity?

The process of awarding points for the "Review on Website" activity typically involves the following steps:

  1. A member posts a review or comments on a specific product, service, or piece of content.
  2. The review goes through a moderation process where a designated reviewer or moderator evaluates the review. The reviewer verifies the authenticity and appropriateness of the review.
  3. Once the reviewer approves the review, the trigger to award points is made to Zinrelo.
  4. The system calculates the appropriate number of points based on predefined rules and configurations set for the activity.
  5. The points are awarded to the member for their review submission.