About time I got round to getting the Google Analytics Individual Qualification Certificate. The test is pretty easy providing you read / watch all the video’s over at the Google analytic conversion university which is a must for anyone wanting to use Google Analytics.


What else is there to do on a Bank Holiday Monday when it’s raining!

Enhanced WP-ContactForm is a popular WordPress plugin which adds a neat contact form to your WordPress blog. This can be completed with two small changes to you contact page.

1. Add the tracking code to the form.

On line 185 of wp-contactform.php

$results = '

' . $success_msg . '


change to

$results = '

' . $success_msg . '


All you are doing is adding the track page view which throws a page view into Analytics after the success message is displayed.

2. Move the tracking code

The original Google Analytics tracking code needs to be placed before the line you just added to the contact form. In WordPress I have placed the tracking code on the footer so I just copy & past the footer and header into the page template. The move the code from the footer into the header. If you use a WordPress plug in to manage your tracking you might need to use a plugin that places the tracking code in the head of your template or have a little play around.

All done sent a test contact and in Google Analytics this will appear as a page view.


Now just add that page as a goal and then Google Analytics will start to track conversion rates.


If you want you can add similar tracking when the contact form fails, this will track if the user enters an invalid field. This is useful to track if you think people may be having problems filling out the form. Although the above method applies to Enhanced WP-ContactForm the same concept should be applied to forms that just refresh the page, add the page view just after the confirmation statement and move the tracking to the top of the page.

Tracking conversions on a site is essential, most of the time you track on the completion of forms on the “thank you” page. Some sites have mailto links which open up blank e-mails, so how do you track clicks on such links?

Well take your standard link

E-mail John

Then add in the JavaScript tracking and ?subject=E-mail John to set a subject for the message (not essential but see later on).

E-mail John

That page view “mailto/john” will start to appear as a page view on the top content section on Google Analytics


Next add that into a goal.


So at the end of the month you’ll be able to get a total of times the link has been clicked. Then check your inbox / ask the client how many e-mails they have received with the subject specified in the mailto link, in the example “E-mail John”. You then have the data work out of the conversion of clicks to e-mails received. E.g. 100 clicks 60 e-mails = 60% conversion.

If the conversion is low then you might want to change the link to go to a contact form, often people are more likely to fill out forms and some users won’t have their e-mail set up on Outlook which opens on the click of mailto links.

Something that I’ve only done on this site today is setting up Google Analytics Site Search for this blog. WordPress has a search function as default. Some themes don’t include the search boxes which is crazy when you see how many people use the search function.

Click edit next to the analytics account you want to add site search.

On the profile settings page click edit in the first box called “Main Website Profile Information”.

Tick “Do Track Site Search” and then add in just “s” as the Query Parameter.

Click save and then your off. Do some test searches, then check that it’s working in 24 hours by going to the reports – Content – Site Search.

One of my favorite tools is Google Analytics and they upgraded the tool this week adding a few extra features.

Advanced Segmentation
Custom Reports
Motion Charts
Account Management Dashboard Update

In private Beta Testing

The Data Export API
Integrated Reporting with AdSense

Head over to the blog post for full details.

Google Analytics is the daddy of all Analytics, it’s used on this site but Yahoo are going to try and force their way into the market with Yahoo Analytics. Yahoo bought IndexTools back in April and they have re-branded the tool for Yahoo. They’ll be rolling it out to customers, partners, developers and advertisers in stages, but there’s no news on a general release.

It seems to work similar to Google Analytics, tracking code, dashboards, goal etc but there are a few standout features flexible custom reports, real time tracking (data comes through in in minutes rather than 24 hours). It all seems really good but we’ll have to get the tracking code in the site before making a decision. Until then Google rules the roost once again.