conversion-tracking

This solution was taught to me by jameszol.  Feel free to follow him on twitter.

Last week I was looking to set up conversion tracking for the WP e-commerce plug-in and I couldn’t find a anything that would help me.  So I’ve taken it upon myself to help those who are looking to do this on their own.

I’m not going to go into why it’s important to have conversion tracking enabled on your site, if you’re looking to have it done you probably understand why it’s important.

(By the way, it doesn’t help that that the plug-in itself doesn’t have an admin section that allows you to simply paste your conversion tracking code)

Enough said, let’s get to it:

Step 1

Login to your Google Adwords Account

Click on the ‘Reporting‘ Tab, then ‘Conversions

Click the button that says, “New Conversion

I’m not going to walk you through all the steps to get the code, but this will get you started on how to get access to the Google Adwords conversion tracking code.  Once you have the code you can move on to step 2.

Step 2

Every plugin/checkout process has it’s own system for taking users through the checkout process.  If you’re using the WordPress E-Commerce plugin than you can skip to step 3 now.  If you’re not then step 2 is crucial.

Go into your analytics and find out what the URL is for when users get to the confirmation page.  Usually it will be a regular expression, such as ‘sessionid=********’ and each expression will be unique.  Here’s what mine looks like:

session-id

session-id

 

 

 

 

Your job is to find what your plugin/checkout process is using for it’s regular expression checkout confirmation page.  Once you have that you can move to the next step.

Step 3

Open a notepad or dreamweaver file and paste the Google Adwords code that you received.  Save the file as, ‘conv-codes.php’

Upload this file onto the root directory where your WordPress file are stored.

Step 4

Now comes the fun part!  Go into your WordPress admin section:

Click on ‘Appearance” > ‘Editor

Click on your Footer file on the right side.  Usually it’s ‘footer.php’

Some WordPress templates end their </body> and </html> in this file (and some don’t end them at all as was the case in my WordPress theme).  Before the end of the </body> tag insert this code:

<?php if (stripos($_SERVER['REQUEST_URI'],'sessionid') !== false) {include 'conv-codes.php';} ?>

I’ll explain basically what this code does, if you don’t care then you can skip it.  We’ve placed this code in a file that makes a regular appearance on every single one of your pages (a.k.a. your footer).  But this php code is unique because it contains an if statement.  IF the requested URI (web address) contains the words, ‘sessionid’ (or whatever your plugin/checkout process uses) then it inserts the code from your conv-codes.php file that you uploaded.  And as we all know, that file contains the Google Adwords conversion tracking code they gave to us!  So basically, this code will ONLY appear on the confirmation of sale page :)

That’s it!  You now have a functioning conversion tracking system on your WordPress site.  You can apply this same principle to any page as long as you know the unique web address expression.  You’ll also have to set up a second conv-codes.php file if you’re tracking more than one conversion.

I hope this helps!  Feel free to follow this blog, or email me at eli@semblem.com

 

 

 

{ 2 comments }

SEO Visibility Excel Score Sheet

by admin on August 15, 2010

I was surfing through Sphinn the other day, and I stumbled across an article titled ‘Search Engine Visibility As a Metric‘ written by Richard Baxter.  I thought it was a really interesting article, and if you have some time you should read it.

Throughout the article, Richard mentioned many times the calculations on how to determine your SEO Visibility and I got to thinking, ‘I can do that in an excel spreadsheet’.  So that’s what I did.  At the end of this post I’ve allowed for people to download the Excel Spreadsheet to determine your SEO Visibility and that of your competitors as well.

Very briefly, let me go over how to use the spreadsheet.

  • You’ll need your top keywords that you’re looking to rank in search engines using
  • Have a list of 5 other website competitors

There are few tabs in this spreadsheet:

 

 

*Competition is the only tab that you need to use for entering data.  The rest of the sheets with populate using this data.

 

You will need to enter your top keywords in the first column.  You can enter as many or as few keywords as you would like.

 

 

 

 

 

 

 

 

 

 

 

Just as Richard Baxter explains on his blog, there is a point system established for different positions within the search engines.  If you’d like to know more on how to calculate your SEO visibility score, you can check you the metric at SEO Gadget.

*Although, Richard’s metic is set to 30 points, I have changed the point system in the excel spreadsheet to calculate up to 50 points for position one, and 1 point for the 50th position.  You can actually change the key in the spreadsheet to fit your specific needs :)

Once you have entered your keywords, and positions for each search engine you can view your results and graphs showing you how your site compares to other sites in SEO Visibility.

 

 

 

 

 

 

 

You can download the excel file here:

 

SEO Visibility Score Sheet

 

 

 

I hope this helps you keep track of your SEO health and saves you sometime is having to build a spreadsheet like this.  If you have any questions you can email me at eli@semblem.com, or follow me on twitter: elistevens32 and make sure to subscribe to this blog.  I got a lot more where this comes from!

{ 0 comments }

The Social Network – Too Much Fame

July 7, 2010

        Every generation has it’s film that defines it’s generation.   To name a few:   1950′s –  ”Stand By Me” 1950′s – “American Graffiti” 1950′s – “Rebel Without a Cause” 1960′s – “Easy Rider” 1970′s – “Breakfast Club”         These are just a few, but the point is [...]

Read the full article →

SEO WordPress Checklist

June 15, 2010

  I wish I could go back in time and sit down and teach myself everything I know at this point.  At that point I could have learned MUCH more and then repeated the process over and over!  Then at that point the world would explode and none of this would matter anyways…  When I [...]

Read the full article →

Welcome to SEMblem

June 10, 2010

This whole blog began because I bought the Motorola Droid 6 weeks ago.  Up until that point I dabbled in internet marketing, but once I had the best phone ever created connecting me to the internet 24/7 I couldn’t help but be more involved with happenings on the world wide web. I’ve had a lot [...]

Read the full article →