BECOME A POWER-USER πŸ† Maximize the full potential of WhatConverts! Learn How

Browse Help Center
Browse Help Center
Help Center β–Έ Lead Tracking β–Έ Form Tracking

Ninja Form Tracking

Ninja Forms is a Form Creation Tool for WordPress. In this document, we are going to show you how to track Ninja Forms inside of WhatConverts. You will first want to make sure that your WhatConverts tracking script is installed in WordPress.

1On the page where your Ninja Form is located, add the following script above the form:

<script type="text/javascript">
function wc_track() {
var els = document.querySelectorAll("input[id*='nf-field'][type='submit']");
for (var i = 0, l = els.length; i < l; i++) {
var el = els[i];
el.classList.add("wc_ninja_btn");
var form = el.form;
form.classList.add("wc_ninja_form");
}}
setTimeout(function(){ wc_track(); }, 2000);
</script>

2Log into the WhatConverts profile you want to use to track your form. From the top menu, select β€œTracking,” β€œForms,” and then β€œWeb Forms.”

Screenshot of the web forms tracking menu

3Click the β€œAdd Web Form” button and select β€œManual Setup.”

4Name your form and set Attribute Type to β€œClass.” Enter the Attribute Value β€œwc_ninja_form”.

Screenshot of the correct Ninja form settings

5Where it says, β€œIs there an alternate Submit button?” select β€œYes”. Select Attribute Type β€œClass.” Enter the Attribute Value β€œwc_ninja_btn”.

If you have any questions, please contact WhatConverts Support or email support@whatconverts.com

Get a FREE presentation of WhatConverts

One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.

Schedule a Demo
ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support
G2 Users Love Us Badge
G2 High Performer Badge
G2 High Performer Small Business Badge
G2 Momentum Leader Badge
G2 High Performer Europe Badge