Nav: Home
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 10, 2012, 23:49

Login with username, password and session length

MicrostockGroup

Microstockgroup Sponsors


« previous next »
Pages: [1] Print

Topic: Google Analytics in a Wordpress blog  

(Read 1266 times)
madelaide
« on: January 21, 2010, 18:12 »

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?


Ignore | Logged


DepositPhotos.com
George

New Member


« Reply #1 on: January 21, 2010, 18:19 »

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.


Ignore | Logged


madelaide
« Reply #2 on: January 21, 2010, 18:32 »

Will it detect each post in my blog, so I can see which ones are more read?


Ignore | Logged


George

New Member


« Reply #3 on: January 21, 2010, 18:49 »

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.


Ignore | Logged


Artmyth



« Reply #4 on: January 21, 2010, 22:25 »

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.



Ignore | Logged


madelaide
« Reply #5 on: January 22, 2010, 11:51 »

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?


Ignore | Logged


Artmyth



« Reply #6 on: January 22, 2010, 12:05 »

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.


Ignore | Logged


Microstock InsiderArt portfolio websites - Foundmyself
Pages: [1] Print 
« previous next »
Jump to:  


Related Topics
Subject Started by Replies Views Last post
10 Beta tester slots - Google Analytics on your image pages
Zymmetrical.com
zymmetricaldotcom 2 1184 Last post June 16, 2009, 15:36
by zymmetricaldotcom
Google Analytics not counting all views
Off Topic
madelaide 6 1039 Last post July 08, 2010, 18:33
by cidepix
possible to track portfolio with google analytics?
Software - General
Artemis 7 1196 Last post August 12, 2010, 07:58
by Artemis
excluding IP in Google Analytics
Software - General
madelaide 2 690 Last post January 30, 2011, 12:55
by madelaide
Google Analytics
Selling Stock Direct
Fred 6 155 Last post December 07, 2011, 20:12
by madelaide

TinyPortal v1.0.5 beta 1© Bloc