WP + Google Analytics

SpellZ

Regular Member
Joined
Feb 8, 2009
Messages
358
Reaction score
292
Copy the following code block into every webpage you want to track immediately before the </body> tag.
If your site has dynamic content you can use a common include or a template. Learn More

.. I have a WordPress theme.. where do I plug in the code?:confused:
 
Shoot huh? nobody used Google Anylytics with wordpress?
 
you need to edit the php file. By default it is footer.php inside your theme folder.
 
.. footer? A... Are you sure?
 
There is a Google Analytics plugin available that might help. I have not used it but apparently it saves you the hassle from modifying the header or footer files in your theme.

Code:
http://wordpress.org/extend/plugins/google-analytics-for-wordpress/
 
Yeah, I found it as well but it says

1. Delete any existing gapp folder from the /wp-content/plugins/ directory
2. Upload gapp folder to the /wp-content/plugins/ directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Go to the options panel under the 'Plugins' menu and add your Analytics account number and set the settings you want.


Wtf is "GAPP FOLDER" =/
 
just a guess but i think they are telling you to delete any previous versions of their product..just upload it and see if it works
 
Back
Top