Google Analytics

Western Folklife Center is a long-time client.  When they first approached us in 2007, they were working with a store system that couldn’t handle their orders, using a content management solution that didn’t work for their needs and had trouble making any edits to their site.Western Folklife Center Joomla 1.5 Site

We helped them evaluate open-source alternatives, plan a project to update their web site of over 900 pages, and migrated their web management system to Joomla 1.0 with VirtueMart for their store solution.  Since then, we have updated their site to Joomla 1.5 and added a wide range of resources including Google Analytics, custom web forms and custom templates for both their main and their Cowboy Poetry Gathering microsite.

The Western Folklife Center site is a good size site; over 850 pages, multiple integrated systems, 3 custom templates, photo galleries, forms systems and VirtueMart.  Also, a microsite within Joomla that uses Joomla’s multiple template capabilities.

Western Folklife Center is a really cool non-profit organization; they help archive, celebrate and store the folklore of the western United States.  Their site includes cowboy poetry, exhibits, artwork, podcasts, radio shows and more.  Go check ‘em out!  They are one of our on-going clients who has a contract with us for maintenance and management.

 

Share

This post is about getting set up with two incredibly useful tools; Google Calendar, Google Docs and gmail.

Google Calendar allows you to have a calendar that syncs with most mobile phones, can subscribe and share event information with other calendars, sends reminders and notices and is completely free.

Google Docs allows you to create and manage documents online, including spreadsheets and forms, you can share them with others and it keeps a complete revision history.  Again all free.

GMail is old-hat these days, but when combined with these other two, it allows you to connect contacts to appointments, sync contacts to your android phone and desktop automagically, and Google has been adding new features.

The first step is to create a google account to use calendar, docs, etc…this also has the benefit of giving you access to google analytics (as discussed in our getting started with Google Analytics article).

Here’s what you can do with a Google Account:

  • Access free Google products (i.e.  iGoogle, Picasa Web Albums, Blogger, orkut, Google Groups, and so much more)
  • Add a Gmail address to your Google Account (does not affect your existing account but adds features)
  • Use Google AdWords and Google Checkout

This doesn’t have to be a gmail account, but those are free, easy to forward to another box, and make a few things easier, so the instructions on those are below as well.  The link to create a new google account is:

https://www.google.com/accounts/NewAccount?continue=http://www.google.com/&hl=en

That form is pretty straight-forward.  You do not need a gmail account to create a google account, you can use your current email.  Fill in the form, you’ll get an activation email sent to the email address used.

Once you get the activation email, and click the link in it, you’ll be able to add your mobile number if you like – that’s useful especially if you have a Droid phone!  Either click “Manage my account settings.” on that validation page, or just go to https://www.google.com/accounts/Login to sign in to your account with your email address and password.

You will see the Google account services window:

Google Account Interface

We are going to set-up Google Calendar and GMail first – remember that although you already have an email account, having GMail will allow you to use GMail contacts, which will sync with your android phone automatically (as will calendar).

Google Calendar

Click on the link on the bottom that says “More” – that will take you to the huge list of free Google Apps you just got for yourself.  On the right-hand side there is an area entitled “Communicate, Show & Share”

Google Apps List

We will talk more about all of these tools, because they are incredibly useful, but for now, on the right hand side, click “Calendar” which will lead you to the first of the Calendar set-up pages:

Google Calendar CreationFill in your name fields, location, and DO select the right time zone, that’s important for getting appointments right and sharing across calendars.  The next screen you see will be your calendar.  We will do a separate post on using Google Calendar to highlight some of the features and settings, for now, you are set-up.  Try clicking on a date and time – that will let you create your first event.

Configuring GMail for Contact Use

Ok, now lets get GMail set up for contact use, so you can add contacts and link them to appointments.  To keep this simple, click on the word “Mail” on the upper left:

Click on "Mail" to get to GMail

Which will take you to the GMail setup screen.  Again, its a form, pretty straightforward – but here, I highly suggest you click the “Check Availability” button to save yourself some time.  You’re going to have to pick something that is unique.  For example, “techivity@gmail.com” is already taken.

Click "Check Availability" when signing up with GMail.

The password field should be filled in with the Google Account password you just set-up.  The next step is an account verification step where you can get a phone call or a text message to verify.  Email allows too much fraud on free accounts, so tolerate this with some pride knowing Google’s at least trying to provide good anti-fraud practices.

Oh, and you will have to enter the verification code they give you, so if you pick phone call, grab a pad and pen.

Once you enter the verification code, you will see an entry-way page to your new GMail account.  You can spend some time with those videos and instructions, or just click “Show me my account” and get going.

Now, as promised, here is a quick note on how to forward GMail to your original address, so you can just use contacts and don’t have to check GMail separately.

  1. On the upper right side, click on “Settings” to open the settings window
  2. Towards the center, in the first yellow/orange area, click on “Forwarding and POP/IMAP”
  3. Click the button that says “Add a forwarding address”
  4. Enter your original address into the pop-up field and click “Next”
  5. You will get a confirmation email, go click on that link
  6. Go back to the settings page and reload it
  7. Now you will see your forwarding email
  8. Check the box that says “Forward a copy of incoming mail to” and tell gmail whether you want it to keep a copy or not
  9. Click “Save Changes” down at the bottom

Ok, now anything that goes to your new GMail account will forward to the original email, you don’t have to check both accounts.  To be sure you got it right, send the GMail box an email from your other account and see if it comes back to you, if it does, you got it, if it doesn’t, go back in and try again, or give us a call and we’ll help.

We will get more into using and configuring Google Apps in future posts, because its a lot of great and free functionality for small businesses and non-profits!

Share

A “how-to” post about installing Google Analytics in WordPress.  Soon we’ll cover some strategy, traffic building and why web analytics are important, plus information on what to read in Google Analytics.

This post will describe how to set up my current favorite Google Analytics plug-in for WordPress.  I’ll be doing a Joomla plug-in soon, for those of you that use Joomla.

I personally prefer Google Analytics because they are free, relatively easy to set-up and provide more information than most need anyway.  The interface isn’t the easiest to read, but I think the fact that they are free, and provide the info needed makes up for that.  Plus, Google Analytics are ubiquitous on the web, so there are a lot of plug-ins that support them.  Just about everybody has Analytics these days, including Godaddy, Yahoo, etc…frankly so far I haven’t seen anyone giving away what Google gives away.

There are two ways to get Google Analytics into your WordPress blog; you can link the source code into the template, or you can install a plug-in.  Both methods have pros and cons.  I’d like to suggest the plug-in because if you change your template, the analytics will remain without coding.  If you like to run WordPress without many plug-ins then you’ll want to put the code in the template.

First, you need a Google Analytics account.  Go to analytics.google.com and sign up using your Google Login.  If you don’t have a Google Login, get one.  You can invite other Google Accounts to get into analytics to share information, so set up analytics in your account first and then invite them.

The piece of information you need is the tracking ID: UA-XXXXXXXX-X which you will pull out of the block of code Google gives you as you set up the analytics account.

My favorite WordPress plugin for Google Analytics at the moment is Google Analyticator by Ronald Heft because it adds a widget to the dashboard of WordPress with some basic analytics data, it works, and its pretty easy to setup.

To install that plugin, just go to “Plugins” in the WordPress dashboard, pick “Add New”, search on “Google Analyticator” and click “Install” on the right side.

Once its installed, click on “Activate this plugin” to activate it.  After the page reloads, click on “Settings” on the left-hand side to open the Settings menu and click on “Google Analytics” to enter your specific setup information.

There are two settings you have to change to get analytics tracking your site.

First, you have to enable the plug-in on the drop down menu at the top.

Second, you have to enter your tracking ID, that number that goes UA-XXXXXXXX-X which you get from the Google Analytics code block (which you will see setting up a new analytics account), right after the part that says “getTracker”:

<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(“UA-XXXXXXXX-X“);
pageTracker._trackPageview();
} catch(err) {}</script>

After you’ve entered your Tracking ID and enabled the plugin scroll down and click on update.  (And by the way, if you’re embedding the code into your Template instead, that’s the code.  It should go in the Footer.php file, or at the bottom of Index.php, right above the </body> tag.)

Now, if you want your WordPress dashboard to display your analytics information, you have to also authenticate the plug-in with Google, so that it can pull the data.  Just click on the Authenticate this plugin link right under where you enabled the plug-in and log into Google.  If you’re doing this for a client, make sure and use THEIR Google account so that only their analytics accounts show up, if you have multiple ones, they’ll be visible in WordPress.

Its nice to have that little bit of analytics data right in the WordPress control panel.

So that’s it, if you got all these steps, then within 24 hours you will start seeing analytics data in your Google Analytics account!

http://ronaldheft.com/code/analyticator/
Share