Ninja Form Event Listener

Enhance your marketing data with Ninja form conversions. Google Tag Manager and this event listener allow you to track successful Ninja form submission conversion in your analytics and advertising platform for conversion tracking, remarketing, and analysis.

How to track Ninja Form Submissions with google tag manager

Tracking Ninja form submissions as conversion in your analytics and advertising platform is easy and seamless, using Google Tag Manager and this event listener.

Start by creating a custom HTML tag type in Google Tag Manager, copy the Ninja form event listener code, paste it in the tag, add a pageview or DOM ready trigger.

The next step is to create a custom event trigger with an event name [ninjaFormSubmission] which happens only on successful form submissions.

To capture the form ID, create a dataLayer variable with a key [NFformID]

Finally, you can now connect your marketing tags/pixels using the custom event for Ninja form submission [ninjaFormSubmission] with the form ID variable, you can push the form ID to your analytics.

 

The creator of this code is Chris Berkley

<script>
jQuery(document).ready( function() {
jQuery(document).on('nfFormSubmitResponse', function(event, response, id) { 
dataLayer.push ({
'event' : 'ninjaFormSubmission',
'NFformID' : response.id 
});
});
});
</script>

Video of how to use the listener

Related Event Listener

Elementor Form

Measure successful Elementor form submissions as conversion and trigger your marketing tags/pixels on successful submission.

Hubspot Form

Trigger your conversion pixels on submission of Hubspot forms, using this event listener you can measure when users submit a Hubspot form.

Marketo Form

Use this Marketo form event listener which makes it possible and seamless to measure successful Marketo form submissions as conversions.

download the google tag manager recipe for tracking Ninja Form Submissions

we make you smarter with data

made with ❤️

The DumbData Team
Before you leave, try out these free tools.
FREE GA4 AUDIT TOOL & UTM AUDIT TOOL