Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Abdi Ahmed
PLUS
Abdi Ahmed
Courses Plus Student 1,667 Points

Question about google analytics on wordpress

Hi all,

I signed up google analytics for my webiste which used wordpress, I tried to put the code on footer and the anytics website was still showing as "Tracking installled" and I tried to put the code on header but still showing "Tracking installled". if everything goes well it has show "Data Reciveing"

Thanks in advance for your help

3 Answers

Stephanie Hider
Stephanie Hider
5,795 Points

Hi,

It looks like it is installed now in the header and it looks correct. If you just put it in it takes at least a 24hr cycle generally before google has any data to show you.

Most themes do have a place to put this script but if you can't find any options and are having difficulty with a plugin you can always add it to the footer.php in your current theme before the ending body tag.

I have had trouble in the past with that authenticate dashboard plug in because of google apps. It should have an option to put in just the "UA-37525074-1" only instead. Probably a check mark you uncheck to get the input box.

Hope that helps.

Stephanie

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi Abdi!

Did this resolve your problem?

Thanks Stephanie for jumping in on this and helping out :)

Abdi Ahmed
PLUS
Abdi Ahmed
Courses Plus Student 1,667 Points

I found the data reporting on my google analytics is reporting some info about visitors. so it is resolved. thank for all our help!