Reviews widget
We are responsible for choosing the best carriers in every region, so we collect feedback from our customers on completed transfers. You can place the widget with real reviews of our customers on your page. This widget can be customized like the search widget. Customization will allow you to:
  • disable the Kiwitaxi logo;
  • change the language of the review;
  • select reviews by country, point or route;
  • change the widget design

Let's see how to set up the elements of this widget.

You can download the standard reviews widget in your personal account on the "Widgets and banners" tab. Find the reviews widget.
Then click on "Get banner code" and copy this code. It will look as follows:
Note: in the Wordpress content management system, you should insert the code in one line (without hyphenation) if the paragraphs of the text are automatically enclosed in paired tags. You can use this service: http://www.willpeavy.com/minifier/. With it, the code will look like this:
You can configure one or more parameters from the list below. The configuration format is JSON. It contains the following parameters:

language — the language in which reviews will be displayed can be set to English or Russian. By default, it is the same as your browser language.
"language": "en"

country — here you can specify the country of the transfer, for which reviews will be shown. You can indicate the name of the country in English or the IATA country code. You can also use the simplified version in a form of a string (which will be the name of the country). For example, for Germany, we indicate:
"country": "Germany"

Note:
This option differs from the similar option in the search widget.

place_from — the name of the departure point for the route for which reviews will be displayed. Write here the name of the point in English or IATA code, you can also use the simplified version in a form of a string (which will be the name of the place), for example:
"place_from": "Paris"

place_to — the name of the destination point for the route for which reviews will be displayed. You can specify the name in English, or enter the IATA code. You can also use the simplified version in a form of a string (which will be the name of the place). For example:
"place_to": "Paris"

currency — the route provided in the reviews is a link. This link will open the Kiwitaxi website page with the car class selection for this route. Prices of different classes will be displayed in the currency that you specify in this parameter. By default, USD is used for language=en and RUB - for language=ru.
"currency": "USD"

class — transfer class, the displayed reviews will be limited to. It indicates the code of the class or classes you are interested in, in the format "class": "ECN,CMT". Codes of classes:
  • MCR - Micro
  • ECN - Economy
  • CMT - Comfort
  • BSN - Business
  • PRM - Premium
  • MV4 - Minivan 4pax
  • MB7 - Minibus 7pax
  • PM6 - Premium Minibus 6pax
  • MB10 - Minibus 10pax
  • MB13 - Minibus 13pax
  • MB16 - Minibus 16pax
  • MB19 - Minibus 19pax
Note: This option differs from the similar option in the search widget.
By default, all classes will be displayed. For example,
"class": "ECN, CMT",

limit — this parameter limits the number of reviews displayed. You can set a limit from 1 to 10 (scrollable), 10 reviews will be shown by default. For example,
"limit": 10

autoscroll — value true enables, and false - disables the auto scrolling of reviews. By default, auto scroll is disabled. For example,
"autoscroll": true

autoscroll_delay — auto scroll speed, by default equals to 10000 (in milliseconds). For example:
"autoscroll_delay": 10000

max_lines — the number of visible text lines. If the text does not fit into this restriction, the "full review" button will appear. The default unlimited.
"max_lines": 5

logo_kiwitaxi — this option allows you to hide the Kiwitaxi logo. Specify false to hide or true to show. By default, the logo is displayed.
"logo_kiwitaxi": true

ref_params — insert here your partner ID, a list in key-value format.

You also have the opportunity to change the widget design so it will match your website style. To do this, you can vary the values of the parameters (the default values are in brackets):

widget_background — widget background color (#ffffff);

widget_font — review text color (#4a4a4a);

star_color — star color (#dcdcdc);

star_active_color — active star color (#f8bb15);

dots_color — color of pagination points (#8c8c8c);

loader_color — color of download items (#ffb300);

arrows_color — color of scroll arrow (#8c8c8c);

more_color — "full review" button color, if not all text lines are displayed (#9b9b9b).

For example, after configuration, a reviews widget might look like this:
If you want to place two reviews widgets on the same page you need to remove the last line of the code <script src="https://new-widget.kiwitaxi.com/static/js/kiwitaxi-search.js"></script> in the first widget and keep it only in the code of the last widget.


Use the features described above to make widgets more convenient for visitors of your pages. If you have any questions, write to us at cpa@kiwitaxi.com