• I’ve signed up for Google Analytics, to track readers of my blog. It gave me code and the following instructions:

    “Click in the box below to select all code. Copy and paste the code segment into the bottom of your content, immediately before the </body> tag of each page you are planning to track. If you use a common include or template, you can enter it there.”

    Where do I paste in the code? I looked in my themes CSS editor, but couldn’t find “content” or the </body> tag.
    I also looked in my FTP, but couldn’t find anything there.
    Can someone tell me precisely where to paste this code (and please, keep the techie jargon to a minimum. I’m not a techie)
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I put it in header.php of my theme folder

    febwa1976. Can you be a bit more specific about where?

    Hello.

    Open header.php depending on which theme you use, some themes may be different.

    Now, you should see something like this.
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>

    Paste your Google Analytics code just above this code.
    I always make a backup of each file before I edit it in case there is a problem.

    Now upload the file, go to your website and right click
    somewhere on the site, View Source Code.
    You should see you code. You can also see if the site connect to Google Analytics by watching the status bar of your browser.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Analytics’ is closed to new replies.