Blog Marketing Journal


Insert Google Analytics Code Into Your WordPress Blog – A Brick Marketing How-To



When it comes to blog metrics, there is more than one solution. For most bloggers, all you really need is Google Analytics. But there are two ways to put the code into your blog template so that you can use Google Analytics and measure your stats. The first way is to use the Google Analytics plugin for WordPress.

The Google Analytics plugin is the easy way. The upside to doing it this way is all you have to do is install the plugin, activate it, and insert your Google Analytics code. When you want to see your stats for your blog you just log in to your Google Analytics account the way you normally would and you can see all the usual stats.

The second way to use Google Analytics is slightly more complex. You do need to understand a little bit about modifying your templates and it’s a little dangerous because if you do it wrong then you can break your template. Still, the upside is that you don’t have to mess with a plugin and your code is cleaner as a result. It’s cleaner and will reduce your code-to-text content because each WordPress plugin comes complete with massive code. If you use the template modification method then the only additional code you have is the Google Analytics code itself.

To insert your Google Analytics into your WordPress template, follow this guide:

  • Open up your FTP client and go to your templates folder
  • Find the template that you are using for your blog and open that folder
  • Transfer the php file for your index file into a folder on your hard drive so you can work with it
  • Open the index.php file on your hard drive
  • Somewhere between the body tags, preferably near the top of your page, insert your Google Analytics code
  • Save the file to your hard drive and transfer it back to your blog template folder

There. Fairly simple. But be sure you place your Google Analytics code in the right place or it won’t work properly.

Posted in Blog Metrics - Tagged blog, google analytics, plugin, WordPress
SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail
« 8 Not So Wise Decisions When Starting a New Blog
» The Kindle Phenomenon: When Keywords Should Not Be Used
  1. » Which Blog Metrics Tool Do You Use Blog Marketing Journal on February 1, 2008 at 7:56 am

Recent Posts

  • Beef up your WordPress Blog with Plugins
  • Have you Found Your Blog Writing Style Yet?
  • Write for Humans First and Search Engines Second
  • How Much Thought Do You Put in your Blog Titles?
  • Treat your Blog Like a Business

Categories

  • Blog and Website Services
  • Blog Content
  • Blog Design
  • Blog Directories
  • Blog Marketing
  • Blog Marketing Books
  • Blog Metrics
  • Blog Plugins
  • Blog SEO
  • Blog Software
  • Blogging Income
  • Blogging Tips
  • WordPress tips

Tags

Adsense blog Blog and webservices Blog and Website Services Blog Content blog copywriting Blog Design Blog Directories blog directory blogging Blogging Business Blogging Income blogging software blogging tip Blogging Tips Blog Hosting blog income Blog Marketing blog marketing tips Blog Metrics Blog Metrics Package Blog Metrics Plug in blog plugin Blog Plugins blogs Blog SEO blog services Blog Software blog tip blog tips blog web design blog writing business blog Feedburner google analytics plugin social bookmark Social Bookmarking traffic website hosting website services WordPress word press WordPress tip WordPress tips

RSS Syndication

  • All posts
  • All comments

EvoLve theme by Theme4Press  •  Powered by WordPress Blog Marketing Journal