Track calls to a phone number on a website

Use phone call conversion tracking to help you understand how effectively your ads lead to phone calls from your website. When a user visits your website after clicking one of your ads, website call conversion tracking can help you identify and measure calls from your site.

This kind of conversion tracking tracks a call as a conversion when it lasts longer than a minimum length you set. This way, you can filter out shorter calls that probably don’t include sales or other valuable actions for your business.

You can use dynamically-generated Google forwarding numbers that replace your business number on your site, without any cost to you. As a result, you can assess which specific keywords, ads, ad groups, and campaigns are leading to call conversions.

Tip: Phone Analytics and reporting is now available on Google Analytics. If you have a Google Analytics account, enabling website call conversions will allow you to access reporting about calls made to your website. Phone Analytics metrics are available as one of the metric-group options in the Google Ads reports.

Before you begin

If you use another system to track when calls lead to sales or other conversions, you might want to create an import calls conversion action instead. Or, you can review all call conversion actions in the article About phone call conversion tracking.

Here's what you'll need before you can set up conversion tracking for calls from a website:

  • A Google Ads account
  • A business in an eligible country: Google forwarding numbers are currently available in these countries.
  • A website: This is where you'll put the conversion tracking code (called a "tag").
  • Ability to edit website: Either you or your web developer will need to be able to add the conversion tracking tag to your website, and add a JavaScript snippet to replace your business number with a Google forwarding number.

Instructions

There are 2 parts to setting up conversion tracking for calls to a Google forwarding number on your website.

  1. Create a conversions action
  2. Set up your Google tag

After you've set up your Google tag, you’ll need to add a phone snippet. The phone snippet replaces a phone number on your website with a Google forwarding number. Install this snippet on site pages where your phone number appears.

  1. Next to “Phone snippet,” click Download snippet. You can enter the phone snippet manually on your website. The phone snippet replaces a number on your website with a Google Forwarding Number so you can see how effectively your ads lead to phone calls from your website. The snippet will be automatically populated with the display number you entered.
  2. Select how you want to install your tag. You can:
    • Install the tag yourself. If you select this option, you’ll need to follow the instructions below to edit your website code manually after you install your tag. This option is more advanced, and is recommended only if you’re comfortable using JavaScript. You should use this option if you want to track calls to multiple phone numbers on your website. Note: Only one number can be tracked on a single page using the default Javascript tag.
    • Email the tag.
    • Use Google Tag Manager.
  3. If you chose Email the tag, next to “Email address,” enter your web developer’s email address.
  4. Click Send and continue.
  5. Click Create and continue.
Here are examples of HTML before and after adding the conversion tracking tag:
  • Sample HTML before conversion tracking code (sample only—don't use in your website's code).

    <html>
    <head>
    <title>Sample HTML File</title>
    </head>
    <body>

    This is the body of your web page.
    </body>
    </html>

  • Sample HTML after conversion tracking code (sample only—don't use in your website's code).

    <html>
    <head>
    <title>Sample HTML File</title>

    <!-- Google tag (gtag.js) - Google Ads: TAG_ID -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID"></script>
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    gtag('config', 'TAG_ID');

    </script>

    <script>
    gtag('config', 'TAG_ID/CONVERSION_LABEL', {
    'phone_conversion_number': '1-650-555-5555'
    });
    </script>

    </head>
    <body>

    This is the body of your web page.
    </body>
    </html>

Track calls to the phone number on a website using Google Tag Manager

You can use Google Tag Manager to track calls to a phone number on your website by following these guidelines:

Set up your tag in Google Tag Manager

  1. Login to Google Tag Manager.
  2. Select any of the workspaces.
  3. Click Tags.
  4. Click New to create a new tag.
  5. Click Tag Configuration. Scroll down and select Google Ads Calls from Website Conversion.
  6. Provide the phone number as it is displayed on your website.
    Note: The phone number you enter needs to have the exact digits it has on your website.
  7. Provide the Conversion ID and Label from the Google Ads account.
  8. Provide or create a trigger which will fire when a user clicks on your Search ad and then calls the forwarding number displayed on your website.
    • Note: After the user clicks your ad and visits your web page, the forwarding number provided in step 6 is activated without any additional user triggers.
  9. Save the tag and publish the changes.

Note: The Google Tag Manager standard website call conversion tag is not compatible with international number formats. This can lead to Google forwarding numbers displaying with plus signs (+) that are not intended to be there. To prevent incorrect plus signs from showing in the Google Tag Manager website call conversion tag, use the national format of the number, without the plus sign.

Edit website code manually to display a Google forwarding number

If you provided the phone number on your website while completing the steps above, you don’t need to follow the steps below. If you selected “Don’t enter a number,” you or your web developer should refer to the examples below for next steps.

Checking your code

It can take up to an hour for your ads to be enabled for this conversion action. To make sure it's working, you can do a search that brings up your ad, then click the ad to visit your website (you'll be charged for the click). Your regular phone number should now be replaced with a Google forwarding number.

If you're doing repeated tests, delete the "gwcc" cookie from your browser before clicking on an ad again.

Was this helpful?

How can we improve it?
4866060068031088636
true
Search Help Center
true
true
true
true
true
73067
Search
Clear search
Close search
Main menu
false
false
false
false
false