Skip to content

Measurement

The CS | Measurement add-on (CampaignSuite Measurement) sends events about your forms to Google Tag Manager, so you can report on views and conversions per campaign. Your subscription needs to include the measurement feature.

Open CampaignSuite > GravityForms Measurement. Under Google Tag Manager there are two fields. Measurement ID is used for server-side calls, and SST Tracking URL is the address of your server-side GTM, for example https://sst.custom-domain.com/g/collect.

You only need them for server-side events, and server-side events are only offered once both are filled in. Client-side events use the standard Google Tag Manager on your site.

The Google Tag Manager settings with Measurement ID and SST Tracking URL

  1. In Gravity Forms, open your form and go to Settings > CS | Measurement.

  2. Click Add New.

    The list of Measurement feeds of a form with one active feed

  3. Fill in the General settings:

    • Feed name
    • Feed moment
    • Providers: tick Google Tag Manager
    • Feed Condition (optional)
  4. Open the Google Tag Manager section and add the Mapping for Google Tag Manager. The Key is the name of the value that is sent, and the value is a form field or entry value from the dropdown, such as Total or Form Title. Every feed lists the section, but only the providers ticked under Providers are used.

    The general settings of a Measurement feed

    The mapping for Google Tag Manager with three keys

  5. Save.

To send a fixed value, such as an event name, add a hidden field to the form with that value as its default value, and map the field.

The Explanation section on the feed page shows how keys are organised:

  • price sends a single value.
  • ecommerce.value puts value inside a group called ecommerce.
  • items.0.name and items.1.name make a list of items.
  • ecommerce.items.0.price combines groups and lists.
  • To use an actual dot in a name, put a backslash in front of it: utm\.source.
  • On load - All pages runs when the form or any of its pages loads.
  • On load runs when a given page of the form loads.
  • On submit - All pages and On submit run when any page, or a given page, is submitted.
  • On confirmation load runs when the confirmation is shown. This is typically your conversion event.
  • A FinDock form offers more moments: FinDock Failure, FinDock Contact/Account Known, FinDock In Review (manual), FinDock payment completed, FinDock payment failed and FinDock payment update (can fire multiple times). Use FinDock payment completed to count only paid donations. A feed on these moments runs once per entry, so a recurring donation is counted once.

Pages are listed per form, so a three-page form offers a moment for each page.

For moments that support both, choose Type for Google Tag Manager: Client or Server.

Client events are sent from the visitor’s browser. You can tick Clear Ecommerce Object (on the client side) to prevent leftovers from earlier events.

Server events are sent from your site, which holds up better against ad blockers. Add visitor IDs (on the server side) adds the visitor’s Google Analytics client ID and session ID.

Some moments can only run on one side, and the feed tells you so.

When a visitor reloads the confirmation page after it succeeded, the confirmation event is not sent again. Load and submit events can repeat.

A submission through a one-click link is stored as a one-click submission. Client-side events don’t run when the visit is redirected straight away, so use server-side events for one-click campaigns.

Each entry stores the source URL, the originating page and its Campaign Code, the UTM values (when you use the UTM field), and the Google Analytics client and session ID. You can combine them in your reports.

CampaignSuite sends each event as one block of key and value pairs, exactly as you mapped them. In Google Tag Manager:

  1. Check that your container is installed on your site. Client-side events are pushed to its data layer.
  2. Map a key named event in the feed, with a name such as donation_completed (see the hidden field tip above).
  3. In Google Tag Manager, create a Custom Event trigger for that event name.
  4. Attach your tags to the trigger, for example a Google Analytics 4 event tag. Read the other keys, such as ecommerce.value, with data layer variables.

For server-side events you also need a server-side Google Tag Manager endpoint with a Google Analytics 4 client. Its address goes into SST Tracking URL, with your Google Analytics Measurement ID next to it.