Frequently Asked Questions:

FAQ: Where does my Statcounter code go?

If you’re using Statcounter to track your hits, this is where you insert the tracking code:

In your WP Admin area, go to “Design” (”Presentation” in old versions of WP) –> “Theme Editor” and open up the file called “Header (header.php).” Insert the code right AFTER this line:

<body class="<?php sandbox_body_class() ?>">

Then save your changes.

Related post:  Adding Google Analytics tracking code to your blog

Questions? Instead of emailing for support, leave a comment below so everyone can benefit from any clarification.

2 Responses to “FAQ: Where does my Statcounter code go?”

  1. On Pam Campbell said:

    <body class=”"oncontextmenu=”return false” ondragstart=”return false” onselectstart=”return false”>

    sc_project=3666946;
    sc_invisible=1;
    sc_partition=44;
    sc_security=”0f37ab26″;

    Like this??

  2. On Jared said:

    Pam Campbell » that doesn’t look like the right code to me. are you sure that’s what the statcounter website told you to paste in?

    it may be that i’m not seeing it right, because sometimes when you paste html into comments, you lose some of it…

Leave a Reply