Google Analytics

  • 1
  • Question
  • Updated 9 years ago
  • Answered
How can I add google analytics to my webpage? I have the code I just don't know where to put it in. They say "Copy the following code, then paste it onto every page you want to track immediately before the tag" but I dont know where that is.
Photo of Rob Shelton

Rob Shelton

  • 8 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of KanThaiDecor


  • 2402 Posts
  • 263 Reply Likes
Just paste it at the bottom of each page using the html widget.....Always keep it below everything else on each page.....I save my code in note pad and this way I have it handy.If you are using the save as feature to create new pages it will transfer over that way and you won't need to add it each time.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Rob

Here's how to add Google Analytics:

1. Go to Google Analytics and sign up for a free account.
2. Type in the URL of your site.
3. Copy the verification code provided by Google.
4. Go to Yola and drag and drop an HTML widget at the bottom of each page you want to track. You could place the code anywhere on your page, but always adding it in the same spot helps you keep track of where you have placed it.
5. Paste the code from Google into the dialogue box of the HTML widget on each page.
6. Republish your site.

If the code is installed correctly you will not see anything on your page, but Google will use this invisible tracking code to gather data on your site. Once you update your site, it be verified and you can log in to your Google Analytics account to find out all the information you want to know about the people who have visited your site. Please be aware that it takes 24 hours for Google Analytics to collect the first lot of data about your site.

(Note: Google Analytics sometimes gives a Javascript error on drop. This is a known issue, but will not interfere with Google's ability to verify your site. If you get this error, simply navigate to another page on your site and all should be fine).

You might also want to watch our very informative webcast on the topic of Search Engine Optimization: SEO Webinar

Please let us know if you have any trouble with this.