Analytics & Tracking

This feature is available to organizations on the Pro, Team, and Enterprise plans.

Connect your Google Analytics account to optimize your forms, gain insights into your form users, and measure your advertising success. Once enabled, each click on your embedded form generates a pageview in Google Analytics.

For multi-page forms, each page of the form generates a unique pageview. You can use this data to monitor the number of visitors and set conversion goals. In addition to Google Analytics, you can also use tracking pixels to connect your form to Facebook or another third party ad service.

Getting started

To begin, find your Google Analytics ID:

tracking-code.png

  1. Login or create a new account in Google Analytics.
  2. If you haven’t already done so, create a property in Google Analytics for each website you want to collect data for. Creating a property generates a Google Analytics ID.
  3. Find your Google Analytics ID You’ll use this Google Analytics ID in your setup.
  4. Copy and paste the global site tag to each web page you want to measure. Add the tag right after the opening tag on each page.

Next, login to your Cognito Forms account:

analytics-and-tracking.png

  1. Open the form builder and enable Analytics and Tracking in the Form Settings menu.
  2. Copy/paste your Google Analytics Tracking ID.
  3. Save your form.

At this point, your form will start sending over pageview data to Google Analytics. If you turn off Analytics & Tracking, the tracking ID is saved so that you can easily turn it back on as needed. If you copy your form within the same organization, the Analytics & Tracking settings will be copied over as well. However, if you copy your form between different organization, the settings will not be retained.

Creating conversion goals

You can create goals in Google Analytics to measure the ROI of your PPC campaigns. To create a conversion goal:

  1. Login to your Cognito Forms account.
  2. Open the form builder and enable Analytics and Tracking. Copy/paste your Google Analytics Tracking ID as outlined in the section above.
  3. Select Create GA Form Submission Goal. submission-goal.png
  4. By default, the Goal Category is the form name, and the Goal Action is Form Submission.
  5. Specify a static value or calculation for the event label and value. The event value must be an integer.
  6. Save your form.
  7. Sign in to Google Analytics.
  8. Click Admin. In the View column, select Goals.
  9. Select New Goal. Give your goal a name, and choose Event as the Type. description.png
  10. Select Continue to edit your goal details:
    • Category is the name of your form
    • Action is "Form Submission"
    • Label is the name of your Event Label (if you specified one)
    • Value is whatever makes sense for what you put in on your form. This is optional.
  11. Set Use the Event value as the Goal Value for the conversion to Yes.
  12. Save your new goal. goals.png

At this point, your form will start sending events to Google Analytics upon submission. If you turn off Analytics & Tracking, the labels and values are so that you can easily turn it back on as needed. Learn more about how to create, edit, and share goals in Google Analytics.

Adding tracking pixels

A tracking pixel is an HTML code snippet which is loaded when a user visits a website or opens an email. You can use tracking pixels on your forms to track user behavior and conversions and send this data back to Facebook or another third party ad service.

To add a tracking pixel to your form:

  1. Open the form builder and enable Analytics and Tracking in the Form Settings menu.
  2. Select New Pixel in the Tracking Pixels section.
  3. Enter your tracking code or URL in the dialog.
  4. Hit Save to create your new tracking pixel. This pixel tracks your form when submitted from the public link or submitted from the embedded form on your website. In the Tracking Pixels section, you can add, delete, and edit all your pixels as needed.

tracking-pixel.png