Google AdWords Phone Tracking on Your Website

I was recently setting up my client’s Google AdWords phone tracking. And decided to track the phone clicks as events too within Google Analytics in case something goes wrong with the Google AdWords phone tracking code.

The Google AdWords phone tracking on your website works by adding a code snippet that will replace the number if the click came through Google AdWords. This will allow Google AdWords to replace your number you’ve listed on your website to something else and when the prospect calls that number, it’ll be forwarded to your listed number. This feature allows Google to track it as a conversion within Google AdWords which is the Key to AdWords success.

Step 2: select Phone Calls

Step 3: Select “Calls to a phone number on your website”

Step 4: Enter name of your conversion:

Step 5: Select a Value for the phone call:

Step 6: The rest of the set up you can choose accordingly and click Save and continue, you’ll then see this screen.

Step 7: Since my client was using a wordpress site and we are using the DIVI theme I would add the Tag for phone call in Step 6 item 1. to the head tag using divi theme’s integration section.

Step 8: in step 6 item 2, google talks about adding a callback function as well as the _googWcmGet(target,business_number,options), I added it to my divi theme’s integration section as well. I use this code since I’m using my client’s website’s jquery inclusion.

Note: quick explanation here, I’m using jQuery to iterate through all a href tags with the phnumber as the starting id and make sure each one is handled properly. If google sends the site a forwarding number all phone numbers will be updated properly.

Step 9: I then coded all my phone numbers in the site accordingly. I will explain why I have phnumber0 to phnumber2 a little later.

Now I mentioned I also configured it as events on Google Analytics.. here how it’s done..

Google Analytics Tracking Phone Calls as Events

The concept behind tracking phone calls as events within Analytics is so that you can tie each event back to AdWords, you can link AdWords and Analytics together and use the Goals function to track events. You can phone calls or other events like maybe watching a video or other stuff. For now, I’m going to show you how I configure it together with AdWords phone tracking above. It’s somewhat redundant but that’s ok since I look at converted clicks in AdWords, so I want to make sure the converted click is tracked.

First step set up the goals to track events.

Second step set up the website so the events are triggered.

Third step link AdWords and Analytics.

Step 1: Set up the Goals in Analytics, under the Admin Tab – click on Goals and You’ll see a screen like this.

Step 2: make sure each time someone clicks on the phone links on the website it triggers an event within Google Analytics.

Add this to all the pages with phone tracking. Pigging backing off our initial set up this code snippet uses jQuery to add a click function to all the links defined previously.

A little explanation here, I use the id of the a href as an event label so when someone clicks the phone number of the site it’ll be log as the id and since I have different ids for the different I’ll know which one is more effective.

Example in Analytics.

Step 3: Link AdWords and Analytics.

No need to rewrite this process it’s well documented at google follow this link.

There you have it folks.. please don’t hesitate to contact me if you need help. Contact me through our contact page.

Categories

Services

Adwords Script Development

Adwords Management

Adwords Coaching

About Me – Harris

I'm a Independent Contractor with over 10 years of Google Adwords knowledge. Contact me and let's chat.

Trademark

AdWords is a trademark of Google. Google AdWords is an online advertising program that allows anyone who follows Google's rules and program regulations to create display ads within search results and/or on websites who agree to display the ads through Google's AdSense program for website owners.