About IF-HOTEL-CAMPAIGN parameter

IF-HOTEL-CAMPAIGN is a conditional parameter added to the hotel landing page template to help you identify the source of an ad click. You’ll be able to isolate the URL parameters, exclusively for hotel campaigns, to only show up when the click is from a hotel campaign. This will provide transparency on where attribution is assigned on a campaign type that is not a hotel campaign.

Before you begin

If you’re not familiar with tracking in Google Ads or ValueTrack parameters, review the following:

How IF-HOTEL-CAMPAIGN works

You can construct a conditional block that checks if the user clicked an ad that originated from a hotel campaign or a different campaign.

The following example uses this directive in a landing page file:

Example:

<URL><URL>https://partner.com?hotelID=(PARTNER-HOTEL-ID)(IF-HOTEL-CAMPAIGN)&hotel_campaign=(CAMPAIGN-ID)(ELSE)utm_campaign=(CAMPAIGN-ID)(ENDIF)</URL></URL>

In this example, if the end-user clicks on a hotel campaign ad, the result is the following URL:

https://partner.com?hotelID=123&hotel_campaign=12345678

If the click is not on a hotel campaign ad, the result is the following URL:

https://partner.com?hotelID=123&utm_campaign=87654321

Instructions

To add individual landing pages directly through Hotel Center:

  1. Log in to your Hotel Center account.
  2. On the navigation menu, click Landing pages.
  3. From the landing page view, click the List tab, and then click the New landing page button.
  4. Select the landing page that matches the criteria needed to prefer or block user types from landing on this new page.
  5. Create your new landing page URL using the provided Google variables. If your production website already has a landing page URL, you can use that and substitute the listed variables for the associated values. Learn more about using variables and conditions
  6. Create a unique ID and display name for the new landing page. The display name will be displayed in ads based on the language specified.
  7. In the URL section, click the Test button. Google will test and validate the URL against test itineraries to confirm that the landing page is functioning correctly.
  8. Click Publish to confirm your changes.

To add a new landing page using XML:

  1. Log in to your Hotel Center account.
  2. On the navigation menu, click Landing pages.
  3. On the landing page view, click the Upload tab.
  4. Upload your landing page XML file using the recommended syntax. Learn more about landing pages
  5. Click Submit.
Note: After you submit your XML file, Google will test and validate the URL. You will see a list of the landing pages you uploaded. Landing pages that uploaded correctly will show with a green checkmark No issues detected and positive check mark icon, and landing pages that have errors will show with a red exclamation point .
  1. Click Publish to confirm your changes.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
8679013501801761668
true
Search Help Center
true
true
true
true
true
81426
false
false