Analytics Market Chart

Installing the Google Analytics Tracking Code

Implementing the tracking code for Google Analytics is relatively simple. However, most problems users have with Google Analytics are the result of incorrect coding. Also, some situations require more specialized coding changes.

These articles will step you through basic issues like getting the code on the site and then testing it. They also cover customizations that you can do to the main code. You need to know common customizations for things like e-commerce tracking and multiple subdomains. You can also fine-tune your reporting with advanced customizations to the code that are not well known, even among Google Analytics experts.

Most people don't know this, but you can make a backup of your Google Analytics data. If your company doesn't already do this, start today!

  • Code Generator and LinkTagger: Introducing two new tools that bring advanced customization of the tracking code within reach of all users.
  • Lessons on JavaScript: Google Analytics tracking code is in JavaScript. To make the fullest use of it, there are a few things to know.
  • Upgrading to ga.js: If you've been using Google Analytics for awhile, you probably need to upgrade to the newest code
  • Adding Tracking Code: Insert and test Google Analytics tracking code
  • Subdomains: If you are tracking multiple subdomains, there are some things to keep in mind
  • Cross-domain Tracking: If your site spans multiple domains, you need to make some code changes
  • E-Commerce Tracking: How to track transactions on an e-commerce site
  • Custom Variables: Track multiple custom variables in Google Analytics
  • Custom Variable Use Cases: Examples and instructions for applying multiple custom variables in a variety of cases.
  • Advanced Features: Expert-level customizations to the tracking code
  • Edit Transactions: Instructions on how to edit/cancel/refund e-commerce transactions in GA reports.