Setting up Google AdWords Call Tracking

You have a Google AdWords account, right? Great.
You want to track phone number clicks on a mobile landing page to count as conversions, right? Here's how:
The first step would be to obtain your Google Adwords call tracking code from within your Adwords account. Click here for Google's instructions on how to obtain your call tracking code.

The code should look similar to the following example:
 <!-- Google Code for Phone Call Conversion Page
       In your html page, add the snippet and call goog_report_conversion
        when someone clicks on the chosen link or button. -->
       <script type="text/javascript">
        /* <![CDATA[ */
       goog_snippet_vars = function() {
         var w = window;
         w.google_conversion_id = XXXXXXXX;
         w.google_conversion_label = "XXXXXXXXXXXXXXXX";
         w.google_conversion_value = 0;
       }
       // DO NOT CHANGE THE CODE BELOW.
       goog_report_conversion = function(url) {
         goog_snippet_vars();
         window.google_conversion_format = "3";
         var opt = new Object();
         opt.onload_callback = function() {
         if (typeof(url) != 'undefined') {
           window.location = url;
         }
       }
       var conv_handler = window['google_trackConversion'];
       if (typeof(conv_handler) == 'function') {
         conv_handler(opt);
         }
       }
       /* ]]> */
       </script>
       <script type="text/javascript"
       src="//www.googleadservices.com/pagead/conversion_async.js">
       </script>

Next, Set an on-click event by right clicking the button and selecting 'Manage Events'.

Add a new event and select OnClick from the list. In the JavaScript code field, enter the following code:
goog_report_conversion('tel:555-555-5555')
Customize the telephone number.
It should look like this:

Now, when a visitor clicks your "Call Now!" button, a call will be launched, while AdWords & Pagewiz will track that call event/conversion.

Have more questions? Submit a request

0 Comments

Article is closed for comments.