Using Tracking Code in WordPress Forms

by Sante J. Achille on January 28, 2009. Updated June 2, 2015 · 10 comments


Tracking you performance is essential to your online business. The general level of awareness you achieve with web analytics can literally turn your online presence into a business. That’s a fact of life.

How to track conversions on WordPress Contact forms, introduced the necessity to monitor the performance of your blog when users interact, especially if they are paid users. Tracking is essential to your success – I know I’ve said that before but there are so many paid campaigns out there where monitoring is an unknown word – your campaigns might be in this exact same situation …

If you’re running a WordPress blog you certainly have installed one or more plugins used to generate automatically contact forms. They’re great and work fine – but they have one great big limitation: No thank you page.

A thank you page is used to confirm that your request for further information has been sent and someone will be in touch soon. This is always the case when you write up your own contact form, but not in WordPress – all the plugins I’ve seen over the past months “encapsulate” this function within the plugin code hence the URL doesn’t change when forms are submitted and there is nowhere to place your tracking code.

Lets take a look at a live example I’ll be blogging about soon (hopefully …)

Plan your Search Advertising Campaign

Identify posts you wish to promote. You’ll have to prepare for this. Do your research and find keywords you can use to write new and original posts (yeah they’re suppose to be “quality content” posts …)


Close posts with a call to action

Make it simple and immediate for your readers to interact – remember KISS (Keep It Simple Stupid!)

Place a link to a form you can make tailored to fit your needs. The link you can see in the previous screenshot leads to a form:

Picture 4.png

This is the form – it’s simple and goes straight to the point – no BS, it takes just a few seconds to compile …

Picture 7.png

this is the message users get once the form has been complied and sent (well there is more there but I don’t want to show you now).

This (thank you) page carries the tracking code – here is where you need to add the code your analytics suite offers.

In Google Analytics you setup your goals. You’ll find clicking on the edit option in your control panel …

Picture 8.png

Picture 9.png

With Google Analytics you can set up to 4 goals – for each one a script is generated – put in in the page just before the </body> tag.

Now you are ready to track your blog’s performance.

With this procedure in place tracking goals on a WordPress blog is a breeze :)

Enhanced by Zemanta


Comments on this entry are closed.

Previous post:

Next post: