Home

Web Marketing: How to Install Your Google Analytics Tracking Code

|
Updated:  
2016-03-26 16:12:41
|
Customer Analytics For Dummies
Explore Book
Buy On Amazon

You need to install a tracking code on your marketing website so that it can start sending data to Google Analytics to begin tracking visitor data.

This procedure varies depending on whether you have a blog site, a traditional site, or a CMS-driven site. (CMS stands for content management system.)

  1. Access your site with whatever editing tool you’re using.

    If you have a blog, you’ll want to look at the Templates or Design tool. If you have a traditional site, you’ll probably use a File Transfer Protocol (FTP) tool. If you’re using a CMS, you’ll want to edit your site template.

  2. Copy the Google Analytics tracking code to your Clipboard by first selecting all the code and then choosing Edit→Copy in the text editor where you pasted it.

  3. In your editing tool, paste the tracking code right before the closing tag on each page of your site:

    • If you’re using a blogging tool or a CMS, you might have to paste the code only once.

    • If you’re using a traditional website, you might need to paste the code into each page. It’s worth the effort, though.

  4. Save the edited code to your website.

  5. If necessary, republish the site to update your code.

    image0.jpg
  6. Wait a half hour or so. Log back in to Google Analytics and look for the profile you added.

    It should now read Receiving data. It may be 3-4 hours before you see any actual data, but your code is properly installed.

If you didn’t copy the tracking code when you set up your account, here’s how you can find it again:

  1. Log in to Google Analytics.

  2. Click the website profile for which you want to see the code.

  3. Click Admin at the upper-right corner of the screen.

  4. Click the Tracking Code tab.

    The code is at the bottom of the page.

About This Article

This article is from the book: 

About the book author:

John Arnold is a renowned marketing trainer and speaker as well as an entrepreneur and small business advisor. Arnold continues to train and advise small business owners as a Constant Contact regional development director.

Michael Becker is the managing director of North America at the Mobile Marketing Association. Becker has written more than 80 articles on mobile marketing and is an adjunct professor of mobile marketing at Golden Gate University.

Marty Dickinson is the president of HereNextYear.com, a company that combines writing, speaking, and internet strategy to help clients become recognized authorities in their fields. Dickinson also works as a business consultant to web designers and SEO specialists.

Ian Lurie has been a digital marketer for over 25 years. He created and sold the digital agency Portent, Inc. and provides consulting and training services.

Elizabeth Marsten is the senior director of strategic marketplace services for Tinuiti. Marsten has experience in Google AdWords, Microsoft Ads, Amazon Advertising, Facebook, and other platforms.