Google Analytics  «Prev  Next»

Custom Website Setups

The tracking code that is provided to you is designed to work with most site setups. In some cases, however, you will need to make small updates to the tracking code on each of your pages.
For example, if you need to:
  1. Track multiple domains in one profile,
  2. Track more than one subdomain per profile, or
  3. Track multiple domain aliases, you should review the module on tracking domains and subdomains, and customize your code before adding it to your pages.

Installing the Javascript

To install the JavaScript, copy your tracking code, either the code provided during setup, or your customized snippet, and paste it into your page. One of the main advantages of the asynchronous snippet is that you can position it at the top of the HTML document. This increases the likelihood that the tracking beacon will be sent before the user leaves the page. It is customary to place JavaScript code in the <head> section, and we recommend placing the snippet at the bottom of the <head> section for best performance.
Here is a sample. To maintain tracking consistency, it is important that the code is installed across all pages of your site.

Using GA with Adwords and other products

If you buy keywords on Google AdWords, you can use Google Analytics to see how well your paid keywords perform in terms of
  1. conversion rates,
  2. revenue, and
  3. ROI.
You can compare search result positions for each keyword and you can compare ad performance.
To do these things, you will need to link your AdWords account to your Analytics account. Review the module on Campaign Tracking and AdWords Integration for detailed instructions.
Urchin[1] Software from Google is similar to Google Analytics, but Urchin runs on your own servers, whereas Google Analytics is a service hosted by Google. If you have licensed Urchin, you can run both Urchin and Google Analytics together on your site. Running Urchin and Google Analytics together gives you a great deal of flexibility and analysis capability.
You will need to make modifications to your tracking code. While this is not covered in the course, you can learn how by following the link shown in the slide.
[1] Urchin is a web statistics analysis program that was developed by Urchin Software Corporation. Urchin analyzed web server log file content and displayed the traffic information for the website based upon log data. Sales of Urchin products ended on March 28, 2012