MicrostockGroup Sponsors


Author Topic: Google Analytics in a Wordpress blog  (Read 3124 times)

0 Members and 1 Guest are viewing this topic.

« on: January 21, 2010, 18:12 »
0
I wanted to add Google Anaylitics to my blog, which uses Wordpress (not the free Wordpress.com site, my own site using WP code).

I saw many plugins for this purpose, does anyone have a suggestion?


« Reply #1 on: January 21, 2010, 18:19 »
0
No plugin needed, just put the GA code into the <head> block of your template in header.php via the theme editor in your admin page.

« Reply #2 on: January 21, 2010, 18:32 »
0
Will it detect each post in my blog, so I can see which ones are more read?

« Reply #3 on: January 21, 2010, 18:49 »
0
Yes, because every page is built from the same template when called, and the code reports the page URL back to Google. If you hand build any static pages outside WP they would need the code as well.

« Reply #4 on: January 21, 2010, 22:25 »
0
I use this one on my blog and on my clients' blogs with great success.

http://yoast.com/wordpress/google-analytics/

Although george is correct, one nice thing about using the plugin is is that when either the template, wp files or plugin are upgraded you can upgrade all your files automatically.

I wouldnt do it any other way.


« Reply #5 on: January 22, 2010, 11:51 »
0
Thanks, Artmyth.

I am the only one who would update the template, since I have actually translated it into Portuguese (still not finished...).  In this case, would it make any difference using the plugin or the direct method suggested by George?

« Reply #6 on: January 22, 2010, 12:05 »
0
Well, the main difference would be convienience, using the plugin it is all done automatically, and updates can be acheived in a one click 'update this plugin' inserting the code in the right spot, and updating the actual code to be inserted. 

Secondly you gain the benefit of additional rich features as listed on the site (http://yoast.com/wordpress/google-analytics/) about customizing the script to add search engines, track downloads, and trackiing image search keywords.

so his script is a bit more feature rich and definately easier to use than coding your own.


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
2984 Views
Last post June 16, 2009, 15:36
by zymmetricaldotcom
6 Replies
3134 Views
Last post July 08, 2010, 18:33
by cidepix
7 Replies
3940 Views
Last post August 12, 2010, 07:58
by Artemis
2 Replies
2168 Views
Last post January 30, 2011, 12:55
by madelaide
6 Replies
2367 Views
Last post December 07, 2011, 20:12
by madelaide

Sponsors

Microstock Poll Results