Building a simple WordPress plugin for Google Analytics

You have your WordPress site up and running, but does anyone read it?

Let’s add Google Analytics to your site so that you will know how many people view your site, where they are from, what they are interested in, and so on. Then you can use this data to better cater to your audience and draw in new visitors.

Simple Google Analytics plugin for WordPress

Many plugins for WordPress already exist to add Google Analytics to your pages, but these plugins may be bloated with features that you neither want nor need. Making your own simple plugin to accomplish the same task is actually quite easy, and it also serves as an excellent introduction to building your own WordPress plugins.

Read more