Tracking with Google Analytics

frevvo-analytics

Google Analytics is a freemium web analytics service offered by Google that tracks and reports website traffic. It’s the most widely used web analytics service on the Internet. If you’re using Google Analytics, you can integrate frevvo forms and workflow traffic into Analytics.

The simplest way to track form or workflow usage is to add your Google Analytics Tracking Id in the form’s Tracking Id property. Now every time someone uses this form or workflow, frevvo will transmit a Pageview to Google Analytics. You’ll be able to see this as a standard web page view in all Analytics reports.

If you wish, you can enable fine-grained tracking. For example, you want to track events like specific value changes on the form, form submission etc. You can use Custom JavaScript to call Google Analytics during these events.

Here is a sample script to call Google Analytics when user submits the form:

var CustomEventHandlers = {
setup: function(el) {
if (CustomView.hasClass(el, ‘s-submit’)) {
FEvent.observe(el, ‘click’, this.submitClicked.bindAsObserver(this, el));
}
},
submitClicked: function(evt, el) {
_gaq.push([‘_trackEvent’, ‘Purchase Order form submitted, ‘clicked’]);
}
}

You can observe a wide variety of events on any control in your form and track them individually at any level you desire. Please see the documentation for details on custom event handlers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: