White Label Settings for Social Networks

White Label is blocked to search engines for web indexing. The only exception is the front page. This is why initially the pages with search results had the identical title, keywords, and description meta tags. However, this approach does not work well, if one has to send a link to social networks since the normal description or the title do not follow.

We added the support of special parameters that can help you to create templates for meta tags.

social-network.jpg

How to Add Parameters

To add a parameter to meta tags, open White Label settings and go to the Meta tab. Select the type of page that you would like to add a template for. For example, let’s add meta tags to a hotel page.

Add the required meta tags and parameters to the field of code input. Example of final code:

<title>[:origin_name:] - [:destination_name:], [:dates:] - Flights search</title>
<meta name="description" content="From [:origin_name:] to [:destination_name:], [:dates:], [:passengers:], [:flight_class:]"/>
<meta property="og:title" content="I found a cheap flight ticket!" />
<meta property="og:description" content="From [:origin_name:] to [:destination_name:], [:dates:], [:passengers:], [:flight_class:]" />
<meta content="en_US" property="og:locale">
<meta content="product.group" property="og:type">
<meta content="[:og_image:]" property="og:image">

<meta content="I found a cheap flight ticket!" name="twitter:title">
<meta content="From [:origin_name:] to [:destination_name:], [:dates:], [:passengers:], [:flight_class:]" name="twitter:description">
<meta content="summsummary_large_imageary" name="twitter:card">

The parameters are added via the structure of the following type [:hotel_country:]. See the description of the parameters below.

Please note, if you need meta tags to be displayed in different languages, add these languages to the general White Label settings. After that, add the code to the Meta tab to all language blocks.

What is Displayed Instead of the Parameters

Two types of parameters are supported in White Label, for plane tickets and for hotels. Instead of each parameter on the summary page will showing his value.

Note! You don't need to change anything or substitute in these parameters. All values are loaded automatically, depending on the content of the page.

Plane Tickets

  • [:flight_class:] — flight class;
  • [:passengers:] — the number of passengers;
  • [:origin_name:] — the departure city in the Nominative case, for example, ‘Moscow’;
  • [:origin_from:] — the departure city in the ‘from City’ format, for example, ‘from Moscow’;
  • [:destination_name:] — the destination city in the Nominative case;
  • [:destination_to:] — the destination city in the ‘to City’ format;
  • [:trip_type:] — the type of flight (one-way or two-way);
  • [:og_image:] — the image of destination city;
  • [:dates:] — departure and return dates together;
  • [:depart_date:] — departure date;
  • [:return_date:] — return date.

Hotels

  • [:guests:] — the number of guests;
  • [:hotel_city:] — the name of the city where the hotel is located or the city of the search;
  • [:hotel_city_iata:] — IATA city code where the hotel is located or the city of the search;
  • [:hotel_county:] — the country where the hotel is located (the grammatical cases are supported according to the same principle as in the case of cities);
  • [:hotel_county_iata:] — IATA country code where the hotel is located;
  • [:hotel_name:] — hotel name;
  • [:check_in:] — check-in date;
  • [:check_out:] — check-out date;
  • [:dates:] — check-in and check-out dates together;
  • [:og_image:] — the image of the hotel.

Was this article helpful?

Have more questions? Submit a request