If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

javascript event tracking not rendering

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.

I only know basic JavaScript and am really a Designer rather than a Developer but I know enough to implement code from outside sources. Perch works with it's own tags inside templates and I was told to simply paste in this code between the <perch:success></perch:success> tags of the temple for it to render when the form is submitted:

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.