Install Call Tracking on your AMP Web Pages

AMP web pages create a faster mobile experience for customers using quick-loading websites. Integrate call tracking onto your AMP pages to see which marketing sources drive calls to your AMP websites for better marketing attribution. When a customer visits your AMP web page, we'll swap in a call tracking number from your keyword pool and you'll receive session-level attribution data for each caller. 

Use this article to learn how to: 

  • Check that your keyword pool is properly set up for AMP
  • Install call tracking on your AMP web pages

Getting Started

Since AMP web pages are purposefully built with lean website design elements for faster loading, this process replaces our usual dynamic number insertion JavaScript for call tracking. 

In order to install call tracking onto your AMP web pages, you'll need a keyword tracking pool in your account that is set to track "all visitors." 

Read this help article to learn how to create a keyword pool.

Check Your Keyword Pool Settings 

In order to track calls on AMP pages, your keyword tracking pool must be set to track "all visitors." Follow these instructions to check the set up of an existing keyword pool. 

  1. Choose the company you'd like to use for call tracking on AMP. 

    Screen_Shot_2018-09-14_at_12.24.57_PM.png

  2. Click the Numbers icon at the top of the page. 

    Screen_Shot_2018-09-14_at_1.02.23_PM.png

  3. Locate the keyword pool you'd like to use. If the Source column shows "All" then your keyword pool is correctly set up. 

    Screen_Shot_2018-09-14_at_1.05.12_PM.png
  4. If it does not show "All" then click the keyword pool name to edit that pool. Select Track all visitors to set your keyword pool to swap for all. This means that you'll receive attribution data for all visitors to your website, regardless of their source. 

    Screen_Shot_2018-09-14_at_1.00.51_PM.png

Install Call Tracking on an AMP Web Page 

Follow these steps for each AMP web page where you'd like to install call tracking. 

  1. Select the company you're integrating with AMP. 

    Screen_Shot_2018-09-14_at_12.24.57_PM.png

  2. Click Settings at the top of the page. 

    Screen_Shot_2018-09-14_at_1.14.36_PM.png

  3. Navigate to All Integrations on the left-hand column. 

    Screen_Shot_2018-09-14_at_1.14.15_PM.png

  4. Find and select the AMP integration tile.

    Screen_Shot_2018-09-14_at_12.50.44_PM.png

  5. Copy and paste the AMP swap code into the source code header of your AMP webpage. 

    Screen_Shot_2018-09-14_at_1.21.45_PM.png

  6. Select the swap target that appears on your AMP web page. You can only select swap targets associated with a keyword pool. If the swap target on your AMP page is not shown in the dropdown, use this help article to create multiple swap targets for your keyword pool

    Screen_Shot_2018-09-14_at_1.26.59_PM.png

  7. After you select your swap target, we'll generate a custom code to swap your phone number with a tracking number. In the HTML of your AMP web page, replace every instance of your swap target phone number on your AMP page with your unique custom code. 

    Screen_Shot_2018-09-14_at_1.29.02_PM.png

  8. If you have multiple swap targets on an AMP web page, repeat steps 2 and 3. 

  9. Repeat this process for every AMP web page you'd like to integrate with call tracking. 

FAQs

Why isn’t my telephone number swapping?

Have you cleared your cookies, or tried accessing the website in a private browsing session? The most important part of testing dynamic number insertion is to simulate the experience of a first-time visitor before testing. Otherwise, the swap code will detect you as a visitor to the website from a previous session.

Learn more about testing dynamic number insertion with this help article

 

 

Have more questions? Submit a request

Comments

Need additional help? Ask our Community!