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! While you're at it, check out some resources Treehouse students have shared here.
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 trialLaura Gutierrez
42 Pointsis google analytics effective on worpress?
You know when you add the snippet code to all the pages" of your site...now, In wordpress you just add it to the header before </head> how is that analyzing all the pages, jut not the landing page?
4 Answers
jason chan
31,009 Pointswordpress has plugin for that. Just download the plugin and put the code in the form.
Shaun Earley
20,412 PointsYes, it's being analyzed on every page that contains your header.php file. Your header.php file should be included on all your pages.
Kevin Korte
28,149 PointsAs Shaun said, every page will likely have the header.php file, so the GA code is included. As Jason said, there are plugins that make this super easy to implement.
Devon von Lichtenstein
1,116 PointsPlugins make tracking analytics very simple and effective.