Saturday, July 25, 2009

Google Analytics: Cookies, Java Script and Cached Pages

Google Analytics uses only first-party cookies, which are considered safe and non-intrusive by most internet users today.

Although many people block third-party cookies from being set by their web browsers, this won’t affect Google Analytics.

Someone who blocks all cookies, however, won’t be tracked by Google Analytics since all the data is passed to the Google Analytics servers via the first-party cookies.

Someone who deletes their cookies will still be tracked, but they’ll be identified as a new visitor to the site and Google Analytics won’t be able to attribute their conversions to a prior referring campaign.

People delete cookies for many reasons, one of which is to prevent personal data from being captured or reported. But, note that Google Analytics does not report on personally identifiable information. You’ll learn more about cookies as they relate to Google Analytics in a later module.

A much less common scenario is that a visitor to your site has disabled JavaScript on his or her browser. A visitor who disables JavaScript won’t be tracked since the Google Analytics Tracking Code cannot be executed.

Cached pages are saved on a visitor’s local machine and so they’re not served by the webserver. Google Analytics will still track visits to cached pages as long as the visitor is connected to the internet.

JavaScript errors occur when an element of a web page’s script contains an error or fails to execute correctly. If an error occurs before the Google Analytics Tracking Code is executed, the visit to the page won’t be tracked. This is because the error will prevent the remainder of the JavaScript on the page from running. Since we recommend that in most cases you place your Google Analytics Tracking Code at the bottom of the page, JavaScript errors are always a possible cause for data not appearing in your reports.

Google Analytics can track visits from a mobile device as long as the device is capable of executing JavaScript and storing cookies. You can see which devices have been used to access your site by looking at the Browsers report in the Visitor section.

In general, no reporting tool can ever be 100% accurate. You’ll get the most out of web analytics if you focus on trends. Knowing that 20% more visitors converted following a marketing campaign is more powerful than knowing that exactly 10 people visited your site today.


- From Google Analytics IQ lessons

No comments:

Post a Comment

Search Engine Marketing