So I'm having a serious problem finding out the best way to solve this problem, I've checked numerous forum posts and tried several versions of the event tracking code for google and nothing seems to work.
Basically I've built a site using the CMS Perch by edgeofmyseat.com and what my client has now asked for is a way of tracking the contact form and register your interest for submissions throughout the site. They don't need to know which page the form is submitted on they just need the overall submission numbers to check against advertising campaigns they run.
_gaq.push(['_trackEvent', 'contact', 'enquiry', 'enquiry form',, false]);
When I try to verify the Goal in Google analytics I get this and no results even after having left it for 4 days:
This Goal would have a 0% conversion rate based on your data from the past 7 days. Try a different set up.
I figured that simply entering a _gaq.push code into the script tags may not have worked because I would have to call in a function, but even the code below doesn't work.
var _this = this;
// Queue the tracking event
['_trackEvent', 'contact', 'enquiry', 'enquiry form',, false]);
I've also tried to pop in an onsubmit="_gaq.push(['_trackEvent', 'contact', 'enquiry', 'enquiry form',, false]);" into the <perch:form> tag but that doesn't seem the render in the browser.
The form I'm testing this on is here:
Any ideas would be massively appreciated and let me know if you need any more information.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)