Knowledge base
Yandex.Metrica settings
To configure the service, you need to add goals to Yandex Metric according to the instructions below, enter information in the booking widget and indicate the Yandex Metric counter number in Bnovo PMS.
1. Create an account in Yandex.Metrica (registration is free).
2. Set up goals in Yandex Metric. To do this, go to your Yandex Metric account - the "Settings" section - the "Goals" tab and click "Add Goal"
List of goals that can be configured:
2.1 Goals, when you add them, you need to select the "Visiting pages", "Condition" - "url: contains" sections in the settings and indicate the address of the page indicated in the table. The name of the target can be any. The table shows the name for an example:
1 step "Room Selection"
reservationsteps.ru/rooms
2 step "Choosing extra services"
reservationsteps.ru/services
3 step "Contact data entry"
reservationsteps.ru/bookings/index
Booking completion page
reservationsteps.ru/bookings/success
Payment redirection
reservationsteps.ru/away
2. 2 Goals for which, when adding a goal, select the JavaScript Event section and specify the Goal ID specified in the table. The name of the target can be any. The table shows the name for an example :
Change the language
change_lang
Email for promotional code
promo_code_email
Close Email window for promotional code
promo_code_window_close
Enter promotional code
enter_promo_code
Search rooms
check_button
Choose number
select_room
Change rate plan
change_plan
Rate plan terms
plan_terms
Free Service Hint
service_gift_tooltip
"Book" at the 1st step of room selection
cart_first_step_button
"Continue" at the step of selecting add. of services
cart_second_step_button
More about the service
service_details
Choose a service
select_service
Terms of use
terms_of_use
2.3 Goals, when you add them, you need to select the "Page visits", "Condition" - "url: regular expression" settings in the settings and indicate the page address indicated in the table. The name of the target can be any. The table shows the name for an example:
Booking completion
.+reservationsteps\.ru\/bookings\/success.+|.+reservationsteps\.ru\/away.+
2.4 If your site also has a booking widget with a date selection calendar, go to the configurator settings and specify:
Is Yandex counter connected? (D / n) - check the box
yandex counter id - enter your counter number in Yandex Metric.
You can find the counter number in Yandex Metric - the "Settings" section
yandex counter target - specify the target identifier. He can be anything. For example: Check_availability Then add the target to Yandex Metric by selecting the JavaScript Event section and specifying the Target ID, which you set in the "yandex counter target" field. Generate the widget code and add (change) it on the site. 3. Go to Bnovo under Tools- Online Sales - Booking Module- Customize. In the Yandex Metric block, enter your unique counter number and click save.
After that, you can track the statistics of module visits in your Yandex Metric account.