Set up conversion measurement for hotel and Performance Max for travel goals campaigns

Conversion measurement can help you understand how effectively your ad clicks lead to valuable customer activity on your website, such as bookings.

After you set up conversions for hotel or Performance Max for travel goals campaign reporting, Google will send the booked hotel data to you to turn on campaign performance tracking. This will allow you to monitor your hotel data and overall campaign performance.

Google tag implementation

Follow the 3 steps below to implement Google Ads Conversion Measurement for Hotel Ads and Performance Max for travel goals ads:

Step 1: Create Google tag and event tag

Note:

  • The conversion category must be set to "Purchase" to be used for Smart Bidding campaigns (ECPC, tROAS).

  • Google only supports the Last-Click Attribution model for hotel campaigns.

  • If you’re already using the Google tag conversion measurement code, go to Step 2.

  1. In your Google Ads account, click the Goals icon Goals Icon.
  2. Click the Conversions drop down in the section menu.
  3. Click Summary.
  4. Click on + New conversion action.
  5. Select the conversion you would like to track and follow the instructions in the widget. Learn how to Set up conversion measurement for your website.
    • If you're planning to track hotel bookings from your website, make sure to select the following :
      • Category: Purchase/Sale
      • Value: Use different values and default value > 0$
      • Count: Every conversion
      • Attribution model: Last click
  6. Finalize the tag setup by clicking Done.

Step 2: Install Google tag and event tag

To implement Google Ads Hotel Conversion measurement, you have 2 options:

Option 1: Direct implementation in the website’s HTML/AMP

Option 2: Instructions for Google Tag manager

For conversion measurement to work, you'll need to install the conversion measurement tag, which consists of a Google tag and an event snippet. If installing the tag with Google Tag Manager, follow the instructions for Option 2: Google Tag Manager.

Option 1: Instructions for direct implementation (HTML/AMP)

HTML Pages

  1. Install the Google tag on every page of your hotel website. Note that this includes every page of the booking flow, which might be hosted by a third party booking engine. In that case, ensure that the booking engine is installing the tag on every page, including the confirmation page.
    1. Open the HTML for each page.
    2. Choose from the following options:
      • If you haven't installed the Google tag on your website, copy the Google tag and paste it between the head tags ().
        Example:

        Review the guidelines on setting up the Google tag.
        • If you installed the Google tag on your website from another Google product (example: Google Analytics) or from another Google Ads account, copy the 'config' command below and add it to every instance of the Google tag, right above the end tag.

          gtag ('config', 'AW-GOOGLE_CONVERSION_ID');
        • If you or a manager account already installed the Google tag on your website while setting up the tag for another conversion action, make sure that the tag is on every page of your website and check that the 'config' command has your Google Ads account's conversion ID.
    3. Save the changes to your webpages.
  2. Install the event snippet on the conversion page. This is the page your customers reach on your website after they've completed a conversion — the "Thank you for your booking" page, for example. Note that the booking conversion page might be hosted by your booking engine and would require the third party to implement the steps below:
    1. Open the HTML for the conversion page.
    2. Copy the snippet below and paste it between the head tags () of the page, right after the Google tag.
      Example:

    3. Add code to dynamically pass a value to the transaction_id parameter. When tracking purchases, sales, or leads on your website, this parameter ensures that each conversion is only counted once.
    4. Add code to dynamically pass values to the value and currency parameters. This allows you to track conversions with transaction-specific values, such as the revenue from a sale.
    5. Save the changes to your webpage.

AMP Pages

You should follow these instructions for any of the pages built using the AMP framework:

  1. Install the Google tag on every page of your website.
    1. Open the HTML for each page.
    2. Choose from the following options:
      • If you haven't installed the Google tag on your website, choose the corresponding option in your Google Ads account and add the 2 tags:
        1. Copy the respective tag and paste it between the head tags (), before the AMP JS library.
          Example:
        2. Copy the second tag and paste it between the body tags () of all of your AMP pages.
          Example:
        3. View more guidelines on setting up the Google tag.
      • If you installed the Google tag on your website from another Google product (example: Google Analytics) or from another Google Ads account, choose the corresponding option in your Google Ads Account, then copy the respective line and include it in the "config" section of every instance of the Google tag.
        Example:
        "AW-813068219": { "groups": "default" }
      • If you or a manager account already installed the Google tag on your website while setting up the tag for another conversion action, make sure that the tag is on every page of your website and check that the "config" section has your Google Ads account's conversion ID. Example: AW-813068219.
    3. Save the changes to your webpages.
  2. Install the event snippet on the conversion page. This is the page your customers reach on your website after they've completed a conversion — the "Thank you for your order" page, for example.
    1. Open the HTML for the conversion page.
    2. Copy the snippet from your Google Ads account and paste it into the "triggers" section of the Google tag.
      Example:
      "C_7c-ug1nyyfk": { "on": "visible", "vars": { "event_name": "conversion", "value": 200.0, "currency": "USD", "transaction_id": "", "send_to": ["AW-813068219/_XirCILNzJkDELvf2YMD"] } }
    3. Add code to dynamically pass a value to the transaction_id parameter. When tracking purchases, sales, or leads on your website, this parameter ensures that each conversion is only counted once.
    4. Add code to dynamically pass values to the value and currency parameters. This allows you to track conversions with transaction-specific values, such as the revenue from a sale.
    5. Save the changes to your webpage.

Learn how to Add a Google tag to your website.

Option 2: Instructions for Google Tag Manager

If you're using Google Tag Manager, you can implement the gtag.js for hotel ads following the steps:

  1. Create the tag in your Google Ads account.
  2. Use Conversion ID and Conversion label to configure the tag in Google Tag Manager.
  3. Add a Conversion Linker Tag.
  4. Place the tag on all pages, including the conversion page.
  5. Modify the tag with your preferred parameters.
After you have created the tags in your Google Ads account, use the custom HTML tagging option to add the relevant variables (View Step 3: Modify the event tag hotel parameters). We don't recommend using the Google Ads template because it doesn't support all variables for hotel campaign reporting.

The Google tag snippet should be set to run on all pages, including the confirmation pages, and the event snippet should run on the confirmation pages only.

Lastly, for optimal web browser compatibility, we suggest that a conversion linker is turned on.

Find further information about Google Tag Manager, but make sure to take Hotel specific instructions into consideration.

Step 3: Modify the event tag hotel parameters

For Commissions (per Stay), review Commission-based bid strategies in hotel ads to sunset to learn more about your next steps.

To submit conversion measurement information, install these additional parameters into the code:
Parameter Value type Example value Description Required - Yes/No
'value' Float 16.20

Replace ‘value’ with the amount the user will pay. You can use either the base price or total price. Use a "." for decimal numbers. For example, "16.20".

Note: The value will be used for Smart Bidding bid strategies.

Yes
'currency' String ‘USD’

Replace ‘currency’ with an ISO 4217 3-letter currency code representing the currency where the booking was made.

The currency code applies to the ‘value’ variable.

Yes
'transaction_id' String 'HA12345'

Replace ‘transaction_id’ with a booking reference number or order ID to your conversion measurement tag to help avoid counting duplicate conversions.

Note: Order IDs won't be reported in Google Ads.

No (Recommended)
'id' String ‘1234’ Replace ‘id’ with the property ID of the hotel that you want to record conversion data for. This ID must match the ID in your hotel list. No
'start_date' String “2020-12-13” Replace ‘start_date’ with the check-in date. Format dates as YYYY-MM-DD. No
'end_date' String “2020-12-13” Replace ‘end_date’ with the check-out date. Format dates as YYYY-MM-DD. No
Note: The only conversion variables available in your campaign reports are ‘value’ and ‘currency’. You can't view ‘transaction_id’, ‘id’, ‘start_date’, or ‘end_date’ values.

Examples of the Google tag configured (Important)

Check the syntax below carefully against your tag implementation. Make sure you’re using the ‘item’ array to include the hotel parameters (for example, ‘id’, ‘start_date’, and ‘end_date’).

Place the Google tag on all pages, including the confirmation page above the event snippet.

After the Google tag is updated:

async src="https://www.googletagmanager.com/gtag/js?id=AW-GOOGLE_CONVERSION_ID">

Then place the event snippet on the confirmation page.

After global event snippet is updated:

What happens if you’re missing hotel conversion parameters?

Note: This isn't applicable for Performance Max for travel goals campaigns.

Hotel parameters provide valuable insight into your individual bookings, such as the booked hotel ID and stay dates. They’re also used by Google to better optimize your ad performance and provide more detailed reporting. If you’re using commission (per stay) bidding for your hotel campaign, these parameters are also used for billing. When the data isn’t available with your Google Ads conversion data, we use your default conversion settings for the conversion “value” and “currency” along with the click-time parameters for the stay dates (“start_date” and “end_date”) and hotel ID (“id”). In this case, if your click-time check-in date occurs before the conversion date, we’ll default your check-in date to your conversion date.

Measure conversions for multiple accounts

If you need to count the same event as a conversion for multiple Google Ads accounts, you can pass multiple conversion ID strings via the 'send_to' parameter of the conversion event snippet.

Alternatively, you should consider using cross-account conversion measurement which allows you to have a manager account (MCC) own the conversion actions and share them with one or more of its sub-accounts. You only need to specify a single conversion identifier in the event snippet. Learn more About cross-account conversion measurement. Ensure auto-tagging is turned on.

Note: When you create a new conversion action, auto-tagging will be activated automatically if you’re not already using cross-account conversion measurement. If you're using cross-account conversion measurement, you’ll need to turn on auto-tagging in each of your sub-accounts manually according to the steps above.

Example of Google tag

Example Google tag: