GettaRoom tracking code
Included Below
About Tracking Code
Tracking code can provide you with data on how bookers are navigating through your web presence. Tracking code requirements and requests vary considerably from one property to the next.
- Send b4 your tracking code snippet(s). A prepared snippet saves time and can prevent configuration errors, as it normally contains pre-proofed property specific information.
- b4 places the code in chameleon™, but it is your web team or web supplier that must troubleshoot and provide remedies if the code is not operating as expected.
Although most tracking code providers generate code snippet(s), b4 can also set up tracking scripts without snippets if you are able to provide documentation for implementation, normally obtained from your web team or web supplier.
Tracking Variables
If the code provided is a "Conversion Script" for the confirmation page only, chameleon™ can substitute variables in order to track the following:
Tracked Variables | View Model Reference | Replace Tag | Example |
Arrival Date | trackingViewModel.arrivalDate | [replace:arrival] | "Tue Mar 28 2021" |
Option Codes | trackingViewModel.optionCodes | [replace:optionCodes] | "Cot, Crib" |
Conf Number | trackingViewModel.confNo | [replace:confNo] | "CHAMELEON-5624" |
Departure Date | trackingViewModel.departureDate | [replace:departure] | "Tue Mar 29 2016" |
Grand Total | trackingViewModel.total | [replace:total] | 186.4035 |
Guest Email | trackingViewModel.email | [replace:email] | |
Guest First Name | trackingViewModel.firstName | [replace:firstName] | "Tom" |
Guest Language | trackingViewModel.language | [replace:language] | "en" |
Guest Last Name | trackingViewModel.lastName | [replace:lastName] | "Singer" |
Guest Country | trackingViewModel.country | [replace:country] | "USA" |
Guest State | trackingViewModel.stateOrProvice | [replace:stateOrProvice] | "Colorado" |
Number Of Nights | trackingViewModel.numberOfNights | [replace:nights] | 1 |
Options Total Price | trackingViewModel.optionsTotal | [replace:optionsTotal] | 10.95 |
Room Code | trackingViewModel.roomType | [replace:roomType] | "2QUEEN" |
Room Name | trackingViewModel.roomName | [replace:roomName] | "Queen Guest Room" |
Room Total Price | trackingViewModel.roomTotal | [replace:roomTotal] | 159.95 |
Tariff/Package Code | trackingViewModel.rateCode | [replace:rateCode] | "BAR" |
Total Tax | trackingViewModel.tax | [replace:tax] | 26.4535 |
Referring URL | trackingViewModel.referrer | [replace:referrer] |
The "View Model Reference" column shows the javascript level variables used within conversion and ecommerce transactions. The "Replace Tag" column shows variables that can be used at the server level for use with 'src' attributes or other places that are outside javascript scope.
Where is Tracking Code Placed?
After the tracking code is generated, b4checkin needs to know where the code is to be placed on the booking page. This tells b4checkin the “Tracking Code Type” for placement in chameleon™.
Where is the code placed? | Tracking Code Type |
“Between the <head> tags (just before the closing </head> tag)” | Head Tracking Script |
“Between the <body> tags (just before the closing </body> tag)” | Body Tracking Script |
“Between the <body> tags (just before the opening <body> tag)” | Top of Body Script |
“Between the <head> tags, confirmation page only (just before the closing </head> tag)” | Head Conversion Script Head Ecommerce Script |
“Between the <body> tags, confirmation page only (just before the closing </body> tag)” | Body Conversion Script Body Ecommerce Script |
Specific Tracking Type Placement
Some tracking codes require a more specific placement, such as replacing the phone number on each page. For these types of codes, b4checkin allows specific tracking types:
NAVIS | Tracking Code Type |
Navis JavaScript library and register campaign keyword | Head Navis Script |
Navis Dynamic telephone number | Body Navis Script |
Navis register online reservation confirmation number | Body Conversion Script |
Triptease | Tracking Code Type |
Triptease paperboy price finder | Body Triptease Tag |
Triptease Confirmation Widget | Triptease Confirmation Tag |
Room Group & Tariff Tracking
chameleon™ can also add tracking for a specific Room Group or Tariff, for those wishing to track the number of visitors to specific Room Groups or to track the popularity of specific Rate Plans.
- Specify the Rate Plan or Room Group while setting up the tracking code in chameleon™ administration page.
- The code will only load when the specified Rate Plan and/or Room Type Codes is being used for the reservation.
Need more help?
Create a support ticket
© 2024 b4checkin