Vacation packages price accuracy tracking

Vacation packages listings on Google lets you track how accurately the prices you submit to Google match those on your website. This feature helps you make sure users see your most current pricing information.

Note: You must meet a price accuracy threshold of 90% to show your information on Google.

How it works

To use price accuracy tracking for your vacation packages offers, place a snippet of HTML code on your landing page. The landing page is the page you show a customer after they’ve clicked a booking link on a vacation package offer on Google. Google uses this recorded information to measure accuracy against the prices you submit in your feeds or via API.If you have multiple booking sites (i.e. points of sale), add the snippet to landing pages for each booking site, including mobile and desktop versions.

TIP: Tag manager libraries such as Google Tag Manager can simplify the population of variables within the HTML code.

Install the snippet

Follow the steps to test and add the code snippet on your landing page(s).

Step 1: Build the code snippet in HTML

  1. Copy the following code snippet into a local HTML file:

    <!-- Google Code for Vacation Packages Price Accuracy Tracking -->
    <div style="display:inline;">
    <img height="1" width="1"
    style="border-style:none;" alt=""
    <!-- End Google Code for F+H Price Accuracy Tracking -->
  2. Replace PARTNER_ID with your unique partner ID in the following two locations:
    1. PARTNER_ID in the image’s source URL path
    2. The value of the partner_id parameter in the <img> block

​Use your website markup to generate dynamic values for the following variables in the <img> block:

Variable Description
base_price_value_string Base price of the package, preceded by the three-letter currency code (e.g. USD420.34)
tax_price_value_string Total amount of taxes for the package, preceded by the three-letter currency code (e.g. USD10.42)
  1. NOTE: Do not include line breaks in the <img> tag, or the image will not render correctly.
  2. To avoid cache issues, generate a random number for the ord value in the image’s src URL.
  3. Add the completed code snippet to a test version of your landing page. This is where a user lands after clicking a vacation packages Search result.

Step 2: Test the code snippet in your test environment

To test the code snippet, follow the instructions below:

  1. Send an HTTP GET request to the test page where you placed your HTML snippet.
  2. Review results in the Google Chrome browser network inspector:
    1. Perform a test booking from your landing page using the Google Chrome browser. Do not press the final confirmation button.
    2. Open the Chrome inspector (Menu > More Tools > Javascript Console) and choose the Network tab.
    3. Run the final booking step to see the GET request, including values sent to Google. Make sure the page does not load any errors.
    4. Confirm the following key issues:
      • Values are sent as intended
      • Your partner ID is in two locations in the message:
        • URL path
        • Value of the partner_id parameter in the <img> block
      • All variables are replaced with test values

Step 3: Push your code snippet live

Publish the code snippet to your production environment. The following example shows a complete code snippet with sample values:

<div style="display:inline;">
<img height="1" width="1"
style="border-style:none;" alt=""

Was this helpful?
How can we improve it?