Table of Contents
Now that your “Listener” tag is set up (from Part 1), Google Tag Manager knows when a form is submitted. However, Google Analytics 4 (GA4) is still in the dark. We need to create a bridge to pass that signal to your reports.
Here is the step-by-step guide to turning that raw code into a tracked Key Event.
Step 1: Create the Trigger in GTM
We need to tell GTM specifically when to fire the GA4 tag. We do this by listening for the custom event name we wrote in the code earlier.
1. Go to Triggers in the left menu and click New.

2. Click Trigger Configuration and select Custom Event.

3. Crucial Step: In the Event Name field, type exactly: ninjaFormSubmission
(Note: This must match the code from Part 1 exactly. It is case-sensitive).
4. Name the trigger “Custom Event – Ninja Form Submission“ and save it.

Step 2: Create the GA4 Event Tag
Now, let’s send this event to Google Analytics.
1. Go to Tags in the left menu and click New.


3. Measurement ID: Select your constant variable or paste your G-XXXXXXXXXX measurement ID manually
4. Event Name: This is what will show up in your GA4 reports.
Recommendation: Use the standard GA4 event name Form_Submit. This helps Google’s algorithm understand that a user became a lead

5. Tag Firing Options (Crucial Step):
- Click on Advanced Settings to expand the menu.
- Under Tag Firing Options, select Once per page.

- Why? This prevents the tag from accidentally firing twice if a user double-clicks the submit button, ensuring your conversion data stays 100% accurate.
Triggering: Scroll down and select the “Custom Event – Ninja Form Submission” trigger you just created in Step 1.

- Name your tag (e.g., GA4 – Event – Ninja Form Submit) and click Save.

Step 3: Publish Your Changes
Your setup is complete in GTM. Now you must push it live.
1. Click the blue Submit button in the top right corner of GTM.
2. Add a version name (e.g., “Added Ninja Forms GA4 Tag”) and click Publish.

Step 4: Mark as a “Key Event” in GA4
Note: As of 2024, Google has renamed “Conversions” to “Key Events” in the GA4 interface.
Now that the data is flowing, you need to tell GA4 to count this as a conversion.
1. Open Google Analytics 4.
2. Go to Admin (the Gear icon in the bottom left).
3. Under the Data display section, click Events.

4. You should see Form_Submitin the list.
- Note: If you just published the tag, it might take 24 hours to appear here. If you don’t want to wait, click “Create Event” and manually type

5. Toggle the switch in the Mark as Key Event column to ON (it will turn blue).


You’re Done!
Now, whenever someone submits your Ninja Form, the entire chain reaction happens instantly:
1.The Listener script fires.
2. GTM sees the ninjaFormSubmission event.


