How to Use Google Tag Manager and Google Analytics to Track Mobile Phone Clicks (Updated 2021)

If you have a website and you want to know how it’s performing, you should be tracking the types of conversions that are specific to your business and marketing goals. Doing so will help show if your efforts are producing a high return on investment. You need to know if your strategies are working or not in order to best invest your time and your money.

At PaperStreet we primarily track contact form completions and mobile phone number clicks. Have you ever wondered how many people view your website and click your phone number to call? If so, this tutorial will show you step-by-step exactly how to set this up from the very beginning.

Please do not be intimidated by the length of this post. Our tutorial goes into extreme detail so you don’t miss any steps. We’ve also provided screenshots to help you reference where to look.

For the purposes of this tutorial, Google Analytics will be referred to as “GA” and Google Tag Manager will be referred to as “GTM”.

Initial Setup with GTM

1. Login to Google Analytics to make sure Google Tag Manager is setup under the same account

2. Go to the URL https://tagmanager.google.com/

3. Click “Create Account” at the top right corner

4. Add your business name where it says “Account Name” then click “continue”

5. Add in your website where it says “Container name”

6. Select the appropriate container type. Since we are setting this up for websites, select “web” and then click “create”

7. Read and accept the GTM Terms of Service Agreement

7. Install the tracking codes appropriately within the suggested locations

Install Google Tag Manager

Setup Variables, Tags and Triggers in GTM

1. On the Workspace tab, click on “Variables” on the left-hand side

2. Click on “Configure”

3. Scroll down to the “Clicks” section and select the checkbox for “Click URL” then exit

Click URL

4. Now click on “Triggers” on the left-hand side and then click “New”

Trigger Configuration

5. Name the “Untitled Trigger” to be “Phone Number Trigger”

6. Then click “Choose a trigger type to begin setup…”

7. Under the “Click” section choose “Just Links”

Just Links

8. Check “Wait for Tags” and leave the default max wait time to be 2000

9. Check “Check Validation”

10. Where it says “Enable this trigger when all of these conditions are true” change it to be: Page URL matches RegEx .*

11. Where is says “This trigger fires on” click “Some Link Clicks” and change it to be: Click URL contains tel:

Trigger Configuration Detail

12. Then click “Save” at the top right corner

13. Now click on “Tags” on the left-hand side and then click “New”

14. Name the “Untitled Tag” to be “Phone Call Click”

15. Under “Tag Configuration” click on “Choose a tag type to begin setup…”

Tag Configuration and Triggering

16. Select “Universal Analytics – Google Analytics” Make sure your website is using Universal Analytics. Look for either analytics.js (for Universal Analytics) or ga.js (for classic Analytics). If it says “ga.js” then you need to update the tracking code within GA so that your website is using Universal AnalyticsChoosing a Tag Type

17. Enter the Tracking ID. This can be found by viewing the source code of the website and finding the appropriate “UA-XXXXXXXXX” tracking code

18. For the “Track Type” select “Event”

19. Name the “Category” to be “Phone Call Click”

20. Fill in the “Action” field to be “{{Click URL}}”

21. Fill in the “Label” field to be “{{Page URL}}”

Tag Configuration

22. The purpose of this is to show you what phone number was clicked and the page URL it occurred on for more comprehensive metrics

23. Scroll down to “Choose a trigger to make this tag fire…”

24. Select the “Phone Number Trigger” that we previously setup then click “Save” at the top right

25. Once that is complete, we want to preview and debug our tag/trigger before we publish it

Preview and Debug

1. Click back to the “Workspace” tab

2. Click “Preview” in the top right next to “Submit”

3. A pop up window will appear asking you to “Connect Tag Assistant to your site”

4. Enter your website’s URL and click “Connect”

4. Your website should load in a new window and there will be a “Tag Assistant” section in the bottom right corner

5. Now test by clicking on a linked phone number on your website, then go back to the previous Google Tag Manager tab

6. Under the Summary, you should see “Tags Fired” and “Phone Call Click” should appear

7. If you are not seeing that then it’s possible that you overlooked a step in the tutorial

8. Once everything is working correctly you will want to then click “Submit” to make your tag go live

Google Analytics Goal Setup

1. Now we need to log back into GA to set up this new GTM event to be counted as a conversion goal.

2. Within GA, click on “Admin”

3. Under the “View” column select “Goals”

4. Click on “+New Goal” to create a new goal

5. Within “Goal setup” select “Custom” at the bottom and click “continue”

Goal Setup

6. Name the goal “Phone Number Click”

7. Under “Type” select “Event” and click “continue”

Goal Setup Description

8. Within the “Category” field enter “Phone Call Click” to match the event category we setup in GTM

9. Leave all other fields blank and then click “save” and “done”

Goal Details

10. Now you have completely setup everything within GTM and GA

Google Analytics Goals

11. GTM will handle the actual event recording and then when GA records the event it will count it as a goal completion

Further Learning

Are you interested in learning more about legal marketing? Head on over to our SEO Guidelines & Best Practices page. Our guide will teach you the do’s and don’ts for law firm SEO along with what we include in our SEO plans.

Questions or Feedback?

We would love to hear your feedback if this blog post has helped you. Please feel free to let us know in the comments below.

If you need any assistance setting up conversion goals for your website, we are here to help. Please feel free to contact us if you need assistance.


3 Responses to How to Use Google Tag Manager and Google Analytics to Track Mobile Phone Clicks (Updated 2021)

  1. Justin Staples
    9:45 am on September 26th, 2018

    Nice post bro. Thanks!

  2. David
    12:19 pm on May 3rd, 2019

    You are very welcome!

  3. dave
    4:51 am on March 25th, 2019

    Great article. I just set up a tag and event.

Leave a Reply

Your email address will not be published. Required fields are marked *

*