By Samuel Goh
There are countless WordPress contact form plugins available on the internet.
A favorite web developing/designing resource of mine, Six Revisions, showcased 20 of the numerous WordPress contact form plugins.
My search for a contact form ended with the Contact Form 7 (CF7) WordPress plugin.
Like many other plugins, CF7 was easy to set up. Not to mention the ease of integration with CAPTCHA and anti-spam plugins such as Really Simple CAPTCHA and Akismet.
The tradition conversion tracking mechanism will see users brought to a “Thank You” page after any form submissions. In the case of CF7, instead of a “Thank You” page, a “Thank You” message would be display on the same page after the user submits the enquiry. Therefore, conversions through CF7 would be tracked slightly differently.
Conversions generated via CF7 can be tracked in 2 manners:
1. Virtual Page View (VPV) Tracking.
2. Event Tracking.
Step 1 – Log into WordPress and go to the CF7 menu.
Step 2 – Look for Additional Settings
on_sent_ok: "_gaq.push(['_trackPageview', '/thankyou.htm']);"
Do note that the path do not necessary need to point to a physical file on the server. What the command mean is simply, when there is a submission via CF7, the pageview will be tracked and attributed to “thankyou.htm”. The stated page is just a reference to GA and not a command to direct the user to “thankyou.htm” after a submission.
on_sent_ok: "_gaq.push(['_trackEvent', 'Form', 'Form-Submission']);"
Step 3 – Next log into GA, go to admin and set up your goals.
Step 4 – Set up either a goal to track URL Destination (for VPV):
Or a goal to track events (for Event Tracking).
Step 5 – Assign a conversion value to your goals. Always try to assign a value to your goals, especially so if these are revenue generating goals.
Step 6 – Save your goals! Well done! You can now tracked all conversions via CF7!
Note: The advantage of a “URL Destination” goal compared to an “Event” goal is that you can specify the goal funnels. In an “Event” goal, you can’t.