Browse the docs

Track campaigns in Ninja Forms

Add UTMTrackr's tracking fields to a Ninja Forms form with a Hidden field, its Default Value merge tag and its Field Key.

Applies to
UTMTrackr 1.32.3 · Ninja Forms 3.x
Edition
UTMTrackr
Last updated
On this page

UTMTrackr fills hidden fields in your Ninja Forms form with the visitor's campaign details.

Before you start

  • Ninja Forms is active and you have a form.
  • UTMTrackr is installed and your license is connected.

Add the fields in one click

Step 1: Choose Ninja Forms and your form

Go to UTMTrackr → Field Mapping. Under One-Click Field Setup, click Ninja Forms (marker 1) and pick your form. Tick the fields you want, then click Add Selected Fields. The fields turn green with an ADDED badge.

UTMTrackr adds a Ninja Forms Hidden field for each value, and refreshes Ninja Forms' saved copy of the form so the fields show in the form builder and on your page straight away.

Step 2: Check the fields in Ninja Forms

Open your form in Ninja Forms. Each tracking field is a Hidden field whose label is the tracked key, for example utm_medium (marker 2).

For the full walkthrough, see Add tracking fields in one click.

Add a field by hand

  1. Open your form in Ninja Forms and add a Hidden field.
  2. Set its Field Key to the tracked key, for example utm_source. This is what UTMTrackr matches. Ninja Forms shows Field Key (under Administration) only when Dev Mode is on; if you don't see it, turn on Dev Mode in Ninja Forms first.
  3. Optionally, set its Default Value to the merge tag {utmtrackr:utm_source}.
  4. Click Publish.

Repeat for each value you want, for example utm_medium and utm_campaign.

Where the entries are

Ninja Forms keeps entries under Ninja Forms → Submissions, with the tracking values in each one. UTMTrackr's Leads tab also saves each entry that arrives with campaign details.

Check it worked

Follow Check that tracking works.

Still need help?

Contact support. What support covers is in our support policy.