Print This Post Print This Post

Understanding JavaScript and How it Can Affect Your Analytics Tracking

February 11th, 2010 | Jen | Advanced PPC Strategies, Analytics, Reporting / Conversion Tracking


Google Analytics is instrumental in the way we track the success of our PPC campaigns (especially since it’s free), but as robust as it is, there are certain visitors that just can’t be tracked. There are at least 6 types of those visitors, but today I’m going to focus solely on those that have their JavaScript turned off, and what it can mean for your PPC campaigns.

What is JavaScript?
JavaScript in the simplest sense is a scripting language that uses browsers to do the work for a command. It can be used to dynamically generate many types of elements on a page, but today I’d like to focus on one particular example.

We have a client who receives their leads via phone. For all online marketing campaigns, they direct visitors to a single landing page that uses JavaScript to automatically show a designated phone number to anyone visiting from each of their PPC, SEO, and email marketing campaigns.

How JavaScript Can Affect Your Tracking
Though few people know how to, it is possible for an end user to turn off their JavaScript, and this will certainly affect the accuracy of lead tracking for anyone using a method similar to our client’s. The primary problem, from a lead attribution standpoint, is that these users will not be shown the PPC phone number, so if they call and convert, that lead will be attributed to a general campaign instead.

To further complicate matters, once a user has their JavaScript turned off, they are untraceable in Analytics, so you will not only lose the data on who is seeing the correct information, but you won’t know that they visited your site in the first place. If you are noticing that your leads are low, you might want to check your web server logs, and compare the number of visitors to your landing page to the number that Analytics shows. This would at least give you an idea of how many people you aren’t tracking in Analytics, and since the reason is likely that their JavaScript is turned off, you would also know that they didn’t see your dynamic information. The downside of course is that you won’t know where they came from, nor how many of them converted, so you would have to make a business rule about how many of the leads were attributed to each of your advertising efforts from the bucket of “untracked” visitors, which compromises accuracy.

If you find that you are having tracking issues due to a lack of JavaScript support, there are different solutions available, depending on your time and budget. Making individual landing pages for different online marketing campaign types would help, because you eliminate the need for dynamic content. If using JavaScript is the most efficient solution for you or your client, make sure that both parties are aware of the potential lead discrepancy caused by JavaScript-disabled users. You should also ensure that the default landing page is unique from all other pages so you will still be able to create lead attribution estimates as described above.

No matter what type of campaign you run, it’s important to understand who is seeing your ads, and reacting to them. Using your PPC data in conjunction with your web server and Analytics data will help you gain a better understanding of the full user experience, and help you effectively track customers while fulfilling their needs.

This post has been edited from it’s original version based on continued research.

Related posts:

  1. The Secret of Tracking Yahoo! Keyword Data in Google Analytics
  2. Understanding Auto tagging & 3rd Party Tracking
  3. Let’s Take another Look at URL Tagging and Tracking PPC Campaigns via Google Analytics
  4. Our Guide To Google Analytics IQ Testing: Event Tracking & Virtual Pageviews
  5. How to Troubleshoot When Tracking 3rd Party PPC through Google Analytics
  • Pingback: SearchCap: The Day In Search, February 11, 2010

  • Wheezer

    Great post thanks for the insight!

  • Don

    “Also included in this section is Java Support where you can see how many visitors don’t have JavaScript enabled.”

    Uhmmm… hello Java and Javascript are very different from each other.

    “Google Analytics does not track the percentage of visitors who do not have JavaScript enabled (what you are seeing is Java support not JavaScript support, there is a difference). If the visitor does not have JavaScript enabled, GA will never see them at all. Therefore GA is showing you only visitors who have JavaScript enabled.”
    http://www.google.com/support/forum/p/Google+Analytics/thread?tid=02bfeb8f83433120&hl=en

  • http://www.mongoosemetrics.com Drew

    Jen,
    Great post. A good way to measure how many calls your client is receiving from visitors that have javascript turned off is to have the default number also be a single tracking number. While you may lose which keyword or ad drove the call you will still have the call data to show your client.

  • Sean

    @Don i was going to say the same thing, it is my understanding that if the visitor has javascript disabled, the GA script won’t capture their visit

  • http://www.bizchair.com Angela Hammond

    Have you considered tagless tracking? Atomic Labs just announced Pion! I am so excited about this product as it will capture data without tagging your website. Pion uses packet sniffing to passively capture the entire website interactions. Unlike other solutions that dumb down your data into log files, Pion integrates directly into your web analytics provider’s API. This gives you the high quality of data you can get from page tags, without the associated hassles and privacy issues. For information about tagless tagging with Pion, visit: http://www.atomiclabs.com/pion-web-analytics/index.php

Close
Hero Conf 2012