Google Analytics Event Tracking

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
7/20/2013 2:10:48 PM
Gravatar
Total Posts 8

Google Analytics Event Tracking

Hi

I would like to track the contact us form click event.

I understand I need to add this to the send button click event:

onClick="_gaq.push(['_trackEvent', 'Contact', 'Contact',,, false]);"

How and where exactly can I add this js

​I am using artisteer31-business2 skin

Thanks

Moshe

7/23/2013 11:06:30 AM
Gravatar
Total Posts 18439

Re: Google Analytics Event Tracking

Hi,

You cannot do that without forking the code and I recommend never forking the code. However if you are a developer experienced in asp.net it is not very difficult to implement your own custom contact form starting with our hello world example

Otherwise, you could also consider purchasing Form Wizard Pro, it has built in support for tracking form submissions in google analytics, though it doesn't track it as an event but as a pageview using an url that you define in settings, ie /myformwassubmitted this custom url is sent to google analytics only upon completion of the form separate from page view tracking that happens for regular views of the page without form submission.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.