Track adwords PPC ROI from a contact form using Google Analytics

Following on from my last post, here is the analytics tracking code in the onclick handler that will pull the text entered into the contact form and submit it to google analytics event tracking. This will label each action with the users email address (although you could use any part of the form as a unique identifier). The benefit of this is if you select the paid search segment, and can link these email addresses (or other information entered on the contact form) to converted sales from your sales information then you will know what kind of return you are getting on your pay per click spend, such as adwords.

Use this code on the form button:

onClick="pageTracker._trackEvent('Form', 'Submit Contact', document.Form1.txtEmail.value);

You need to replace ‘Form1′ with the name you have given your form, and then change ‘txtEmail’ for the name of the particular part of the form you want to pull the value from.

*Apparently linking GA data to individual visitor info is in breach of GA’s terms and conditions – something about it being an invasion of privacy – so use at your own risk! I don’t see how this applies in this case, as it only affects visitors that contact you with their information, which they are sending to you anyway… so hardly an invasion of privacy? Still, you’ve been warned!

Dynamic Keyword Insertion (adwords)

The official ‘how to’ from Google. I’m putting this here as its new, I have never found a good ‘how to’ on this subject before, and tbh, I occasionally can’t remember how to do it – so now I know where to look!

Match transaction to keyword

This great set of filters for Google Anlaytics will let you see which keywords are generating which orders! Originally featured in the Google Analytics blog from ROI Revolution. This is a great source of information, allowing greater control of CPC in relation to revenue.

July – going up

Sales with one of my sites are up a huge 37% month on month! The other has dipped a little, due to decreased demand for Novelty gifts and the personalised gifts being out of stock.

New promotions are to be created for some of the slow moving stock whilst others have simply been identified as having poor descriptions & images on site and will be updated accordingly.

CPC: Spend as a percentage of Revenue is moving ever lower with better integration of adwords and analytics.

Hopefully I will have new filters for analytics that will identify where each sale came from (i.e. keyword) to enable better price setting.

New record…

AdWords brought in over 50 conversions this week which is the first time its been over 50, well, ever, as it never used to work properly with actinic! woo! Clock Warehouse is slowly recovering too.