The easiest way is to use the plugin called Google Analytics for WordPress by Yoast. You just need to fill in your Analytics account and authenticate it with Google.
Thanks for the reply
I only find a plugin called “Google Analytics” by Kevin Sylvestre
I have installed it previously – it kept Disabling it’s self because it could verify my tracking code and everything is correct on the Analytic side.
I have another website with WP theme by SMThemes called LightCafe – there is a “Integration” field on the Appearance menu where you can add you logo’s, social links, sliders, etc.
All I had to do was copy over the Analytics code and save.
The theme I am using for the new domain is this theme called Customizr by nikeo. It’s a really neat theme but I don’t find a menu for to put my tracking code.
I have followed the step by step tutorials to add it directly to the code in the editor function as well but it doesn’t gel.
Any other idea’s?
I’d recommend it too.
I don’t want to download a plugin to track my website. Is there a way to add the google analytics tracking code directly in the Customizr theme?
Yeah, post a new thread about this http://wordpress.org/support/theme/customizr#postform
Thanks Electric Feet. I just tried and its working great. Thanks!!
Hello everybody. I’m really not knowledgeable in php programming and I haven’t managed to add my Google Analytics code the way Nicolas provided. That is, I don’t know where exactly to put that code and how it should look like, and I keep getting errors in functions.php
I ended up creating a child theme in order not to damage the original, and I think I will keep it that way considering what I’ve read on the advantages of having a child theme for customization.
Thanks in advance!
Yes, this should be added in the child theme’s functions.php. The entire functions.php file should sit in the child theme folder and — if you have no other functions in it — it should look like this:
- The topic ‘Google Analytics’ is closed to new replies.