Liquid e-Commerce conversion tracking documentation

How-To: Track user actions on Liquid e-Commerce websites

Hotelwize websites that use Liquid e-Commerce, offer a variety of tracking events depending on the third-party applications that the hotel uses on its website.

Liquid Events

Category

Action

label

Description

Liquid

Booking Flow

{roomId} – {ratePlanId} - Book Now

When Book now button is clicked in rate plans listing on checkout page or single room page or inside gallery lightbox

Liquid

Booking Flow

{roomId} – {ratePlanId} - Request

When Request button is clicked in rate plans listing on checkout page or on single room page or inside gallery lightbox

Liquid

Booking Flow

{roomId} – {ratePlanId} - Call Us

When Call us button is clicked in rate plans listing on checkout page or on single room page or inside gallery lightbox

Liquid

Booking Flow

{roomId} – {ratePlanId} - Sold

When Sold button is clicked in rate plans listing on checkout page or on single room page or inside gallery lightbox

Liquid

Booking Flow

Check Rates

When submitting booking form inside rooms or offers

Liquid

Booking Flow

Change Preferences

When Change preferences button is clicked

Liquid

Booking Flow

Clear Button

When clear button is clicked inside Booking form lightbox

Liquid

Booking Flow

X-Button

When close button is clicked inside Booking form lightbox

Liquid

Booking Flow

Reservation Information

When next button is clicked in checkout popup step 1

Liquid

Booking Flow

Back-Button

When back button is clicked inside checkout at step 1 or step 2 or step 3



Events fired after Order Placement

Bing

Parameter

Value

ec

Booking

ea

Reservation status

el

(empty)

ev

Total cost


Facebook

The Purchase Event is fired with the following parameters.

Parameter

Description

content_type

Hotel

content_ids

Hotel ID

value

Total cost

currency

User’s selected currency

It is possible to add different conversion label for each reservation status (Room Request or Room Reservation).

Parameter

Description

send_to

AW-{CONVERSION_ID}/{CONVERSION_LABEL}

value

Total cost

currency

User’s selected currency

Transaction_id

Reservation ID


An image element is appended to the page with the below parameters.

Parameter

Description

ord

Reservation ID

hct_partner_hotel_id

Hotel ID

hct_base_price

Total cost

hct_total_price

Total cost

hct_currency

Currency

hct_checkin_date

Check-in date

hct_checkout_date

Check-out date

hct_length_of_stay

No. of reservation days

hct_date_format

Y-m-d

hct_booking_xref

Reservation code


Google Analytics (UA and GA4)

The Purchase Event is fired as described on https://developers.google.com/analytics/devguides/collection/ga4/set-up-ecommerce. The parameters that are used for the Purchase Event are described at the following table.

Parameter

Description

send_to

This parameter is used to send the property id of your UA or GA4 account. In you choose to enable extra services such as Google AdWords or Google Partner this parameter will hold the id and will send extra event on each service.

transaction_id

Reservation ID

affiliation

Hotel name

value

Total cost

currency

User’s selected currency

items

The list of the requested rooms

checkout_step

Always set to 4

id

Hotel ID

start_date

Reservation check-in date

end_date

Reservation checkout-date


Sojern

Parameter

Description

hd1

Check-in date

hd2

Check-out date

hc1

(empty)

hs1

(empty)

hpr

Hote name

hr

No. of rooms

hpid

Hotel ID

t

No. of guests

hp

Total cost

hcu

Currency code

Hconfno

Reservation id


Triptease

A script tag is appended to the page with the parameters below.

Parameter

Description

bookingValue

Total cost

bookingCurrency

Currency

bookingReference

Reservation ID


Trivago

Parameter

Description

trv_reference

Conversion key

advertiser_id

Advertiser ID

hotel

Hotel ID

arrival

Check-in date

departure

Check-out date

volume

Total cost

booking_id

Reservation ID

currency

User’s selected currency

date_format

Y-m-d

booking_date

Reservation created date

booking_date_format

Ymd-His


UserGuest

The Conversion event is sent along with converionData, as described in the following table.

Parameter

Description

bookingId

Reservation ID

checkin

Check-in

checkout

Check-out

dateFormat

Yyyy-MM-dd

rooms

No. of rooms

nights

No. of nights

price

Total cost

currency

Currency code

adults

No. of adults

children

No. of children


    • Related Articles

    • Analytics Tracking

      Every website in Hotelwize is ready to send analytics tracking events to the supported platforms. All you have to do is to activate the corresponding plugin(s) and Hotelwize will send various events, page views and conversions to the analytics ...
    • Hotelwize for Online Marketing teams

      Hotelwize is designed with performance optimization and online marketing in mind. The support of online marketing teams is built in core functionality and our goal is to excess in: Performance (Page speed) SEO techniques Themes that support semantic ...
    • How-To: Add analytics tracking to website

      Hotelwize supports analytics tracking to different vendors such as Google Analytics (GA4), Google Ads, Facebook, Microsoft, Matomo Tracking Events Page views & Click events Tracking is implemented in each theme using the page_view and click events. ...
    • Liquid Booking Engine Configuration

      Liquid Booking Engine is a set of components to integrate the booking engine flow into the website, achieving an enhanced user experience and high conversion rates.  All canvases support the Liquid plugin, however only two booking engines supports ...
    • How-To: Add 3rd party application on my website

      We understand that several 3rd party services provide various functionalities to online marketers community. The ability to add extra functionalities on a website without programming knowledge and / or previous experience with every CMS is ...