You can use two types of tracking codes for Google Analytics and other web tracking products – static and dynamic ones.
Static Tracking Codes
Static codes do not change, do not contain dynamic information such as a booking amount or transaction identification. Clients can use their own tracking codes (from their own Google Analytics accounts or another web tracking product). It is very easy to to set this static tracking code in the WRS:
- In the navigation bar, click 'Web' and select 'Settings' – 'Web Reservation System'
- Go to the Google Analytics section
- In this section, paste the tracking code from your Google Analytics account or another web tracking software
- Click 'Save'
Dynamic Tracking Codes
Dynamic Parameters
The tracking code can contain variables/parameters. The system will replace the parameter with a corresponding value. This way the final tracking script can contain data about arrivals, booking and amount.
All parameter should be placed between double curly brackets: {{parameter}}
{{page_name}} | Name of the WRS page |
{{today}} | Today's date |
{{arrival}} | Arrival Date. Not present on the first page. Minimum of arrival dates if multiple arrivals are booked. |
{{departure}} | Departure Date. Not present on the first page. Maximum of departure dates if multiple departures are booked. |
{{stay}} | Stay. Not present on the first page. |
{{first_name}} | First name of the guest. Not present on the first page. |
{{last_name}} | Last name of the guest. Not present on the first page. |
{{e_mail}} | Email of the guest. Not present on the first page. |
{{has_availability}} | If the search finds available products the parameter is 'true', else it is 'false'. Present only on product (second) page. |
{{lead_days}} | Lead Days. The Difference between Today and Arrival date. Not present on the first page. |
{{booking_price}} | Total price of the selected rooms. |
{{booking_price_currency}} | The currency of the booking price. |
{{booking_number}} | List of booking numbers. Presented on the final page only. |
{{booked_rooms}} | How many rooms are booked. Presented on the final page only. |
Custom Dynamic Tracking Codes
Besides static tracking codes and standard GA ecommerce tracking codes, you can also use custom dynamic ones. In order to use custom dynamic tracking codes, please get in touch with the Clock Software team to have them set up (a paid service). Also you need to prepare and send us:
- Exact source of the tracking codes
- What data exactly and in which places to replace it
- On which pages we should place the tracking code
Analytics - Referal traffic from Third-party payment processors / Cross-subdomain tracking
How excluding referral traffic affects your data
By default, a referral automatically triggers a new session. When you exclude a referral source, traffic that arrives to your site from the excluded domain doesn’t trigger a new session. If you want traffic arriving from a specific site to trigger a new session, don't include that domain in this table.
Because each referral triggers a new session, excluding referrals (or not excluding referrals) affects how sessions are calculated in your account. The same interaction can be counted as either one or two sessions, based on how you treat referrals. For example, a user on my-site.com goes to your-site.com, and then returns to my-site.com. If you do not exclude your-site.com as a referring domain, two sessions are counted, one for each arrival at my-site.com. If, however, you exclude referrals from your-site.com, the second arrival to my-site.com does not trigger a new session, and only one session is counted.