• Resolved fifthhouse

    (@fifthhouse)


    I don’t want a plugin. I just want to add the google tracking code to the right page in my site. Does anyone know where that is? Which file, and where in the file?

Viewing 5 replies - 1 through 5 (of 5 total)
  • in your current themes footer.php, usually.

    its impossible to tell you which file since we dont have a url to the site. We dont read minds around here, yet.

    Thread Starter fifthhouse

    (@fifthhouse)

    OK I didn’t think you read minds. I didn’t know you could tell anything from knowing my url.

    It is http://angerwise.com

    yes, from your url, I get your theme — then I can go look at the theme.

    which really wasnt a lot of help, since this is one of those themes that made it onto a lot of those “free theme” sites.

    Basically, you need to look in all your theme files. start with your themes’s footer.php.

    Is there a closing `</body> tag in it?

    if so, your google tracking code goes right before it.

    IF there is no closing `</body> tag in that file, and it looks like this, or similar, instead:

    <div id="footer">
    			<div class="left">Theme Ported to <a href="http://www.wordpress.org">Wordpress</a> by <a href="http://www.themeporter.com">ThemePorter</a>. Sponsored by <a href="http://www.webhostingbluebook.com">Web Hosting Bluebook</a> </div>
    			<div class="right">Design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a></div>
    	</div>

    just put the code at the end of the file.

    if it doesnt match either of those ill need to know whats inside the file.

    how did you add the copyright? a plugin? If not, put the google code right beneath wherever you put that copyright.

    I was going to suggest something else but that wouldnt work since I know how the copyright plugins work.

    Thread Starter fifthhouse

    (@fifthhouse)

    Thank you very much. I installed in just before the </body> tag in the footer file. I think it’ll take 24 hours to show “receiving data”.

    Thanks very much for the help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘where do i add google tracking code?’ is closed to new replies.