How to Capture Microsoft Ads Data in Ninja Forms

Keep original Microsoft Ads campaign details and available click IDs with your Ninja Forms leads, ready to compare with lead quality and customer outcomes.
Attribution is broken

Microsoft Ads show which campaigns generate clicks and conversions, but evaluating the leads behind those results means keeping campaign context available as enquiries become opportunities and customers.

Madlitics captures the campaign details supplied in your Microsoft Ads URLs and preserves the original attribution as someone browses. When they submit your Ninja Form, the configured fields receive that context alongside their answers, including the original channel and landing page. An additional field can retain an available Microsoft click ID, or MSCLKID.

Pass those fields through your existing Ninja Forms connection to keep attribution with the CRM record. Your team can then compare Microsoft campaigns with qualification, pipeline and customer outcomes using its existing reports.

Why Microsoft Ads Campaign Performance Matters

Traffic metrics show how efficiently Microsoft campaigns attract website visits. Connecting those visits with leads and customers helps you evaluate what the campaigns produce. This example compares the same campaigns using traffic metrics and then customer outcomes.
‍

Microsoft Ads Campaign Performance Based on Traffic Metrics

Campaign

Ad Spend

Visitors

Cost per Visitor

Microsoft Ads, CRM Software

$4,800

5,200

$0.92

Microsoft Ads, Demo Requests

$2,600

2,100

$1.24

Microsoft Ads, Search Retargeting

$3,900

8,900

$0.44

Campaign
Microsoft Ads, CRM Software

Ad Spend
$4,800

Visitors
5,200

Cost per Visitor
$0.92

Campaign
Microsoft Ads, Demo Requests

Ad Spend
$2,600

Visitors
2,100

Cost per Visitor
$1.24

Campaign
Microsoft Ads, Search Retargeting

Ad Spend
$3,900

Visitors
8,900

Cost per Visitor
$0.44

‍

Search Retargeting generates the most visits at the lowest cost per visitor. Demo Requests attracts fewer visits at a higher cost, making it appear less efficient when the comparison stops at traffic.
‍

Microsoft Ads Campaign Performance Connected to Leads, Customers, and Revenue

Campaign

Ad Spend

Visitors

Leads

Customers

Revenue

Microsoft Ads, CRM Software

$4,800

5,200

148

9

$38,000

Microsoft Ads, Demo Requests

$2,600

2,100

121

17

$126,000

Microsoft Ads, Search Retargeting

$3,900

8,900

201

3

$11,000

Campaign
Microsoft Ads, CRM Software

Ad Spend
$4,800

Visitors
5,200

Leads
148

Customers
9

Revenue
$38,000

Campaign
Microsoft Ads, Demo Requests

Ad Spend
$2,600

Visitors
2,100

Leads
121

Customers
17

Revenue
$126,000

Campaign
Microsoft Ads, Search Retargeting

Ad Spend
$3,900

Visitors
8,900

Leads
201

Customers
3

Revenue
$11,000


Customer outcomes change the comparison. Demo Requests produces 17 customers from 121 leads, while Search Retargeting produces three from 201. Their lead-to-customer conversion rates are approximately 14.0% and 1.5%. Ad spend per customer is approximately $153 for Demo Requests versus $1,300 for Search Retargeting. These figures cover advertising spend rather than the full cost of acquiring a customer.

Keeping original campaign details with lead records makes this comparison possible when attribution is connected with customer, spend and revenue data in your reports. The Ninja Forms marketing attribution guide explains how to compare original sources with lead and customer outcomes.

Set up Microsoft Ads tracking in Ninja Forms

Capture original campaign details with each lead and keep that context in your connected tools.

1.

Install Madlitics on your WordPress site

Install Madlitics on your WordPress website to capture first-touch attribution when someone arrives and preserve it as they browse. This keeps the original marketing source available when they reach your Ninja Form.

Install Madlitics on WordPress
Install Madlitics
Add UTM parameters
2.

Add UTM parameters to Microsoft Ads

Add UTMs to your Microsoft Ads landing URLs to identify the source, campaign, ad group and creative you want recorded with each lead. Use consistent, readable values so submissions from the same campaign can be compared together.

For example: yoursite.com/demo?utm_source=microsoft&utm_medium=cpc&utm_campaign=demo_requests&utm_term=crm_software&utm_content=text_ad_1

Here, crm_software identifies the ad group and text_ad_1 identifies the creative variation.

Madlitics fields value pairs
3.

Configure Ninja Forms to receive attribution

Add the seven default Madlitics hidden fields to your Ninja Form. These receive the original channel, four campaign segments, landing page URL and landing page group without adding anything for the lead to complete.

Set up Ninja Forms for Microsoft Ads
Receive enriched submission data
Connect to reporting
4.

Capture campaign attribution with every submission

When someone submits your Ninja Form, Madlitics writes their stored first-touch attribution into the configured fields. The original campaign details and landing page appear alongside their contact information, even after they browse beyond the page where they arrived.

Pass those fields through your existing Ninja Forms connection to keep campaign context with the CRM record. You can then compare Microsoft campaigns with lead quality, opportunities and customers in your existing reports.

Microsoft Ads attribution captured in Ninja Forms

Keep original campaign details and landing page data alongside each lead’s answers, ready to pass through your existing connections.
Field
What it captures
channel
The original marketing channel, such as Paid Search.
segment1
The original source value supplied in utm_source.
segment2
The original campaign value supplied in utm_campaign.
segment3
The value supplied in utm_term, such as an ad group label or keyword.
segment4
The value supplied in utm_content, such as a creative variation.
lp
The original landing page URL.
lpg
The original landing page group.
Click IDs
Optional advertising click identifiers, captured when available and configured with additional fields.

* Values reflect the campaign tags and source information available on the first visit. Click IDs require additional fields beyond the seven defaults.

Visualizing your marketing impact

Compare captured Microsoft campaign attribution with lead quality and customer outcomes in your existing reports.

Stacked bar chart showing lead generation by marketing channel over time, comparing sources like Paid Search, Paid Social, Organic Search, Direct, and Email. Helps visualize which channels drive the most traffic.

Leads by channel
Compare leads first attributed to Microsoft paid campaigns with other sources using the captured channel and source fields.

Line chart displaying lead-to-customer conversion rates by channel, comparing Google Ads, Facebook Ads, LinkedIn Ads, Organic Search, and Email. Shows how different sources drive qualified leads over time.

Conversion rate by channel
Use CRM outcomes to compare the proportion of leads from each original channel that become customers.

Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.

Revenue by campaign
Combine captured Microsoft campaign values with connected customer and revenue records to compare campaign results.

Related articles

Get started with Microsoft Ads attribution in Ninja Forms

Madlitics keeps original Microsoft campaign details with your Ninja Forms leads as they browse and submit. Capture available MSCLKIDs in additional fields, then map attribution through your existing connections to keep that context with downstream records. Start a free trial to bring campaign attribution into your submissions and compare it with lead quality, opportunities and customers in your existing reports.

Why use Madlitics with Ninja Forms to capture Microsoft Ads data

See which campaigns drive real business results.

Capture campaign and ad details
Record the source, campaign, ad group or keyword, and creative values supplied through your Microsoft campaign URLs.

Compare campaigns with customer outcomes
Use captured campaign fields alongside CRM stages and customer records to evaluate results beyond clicks and submissions.

Send data to your tools
Map attribution through your existing Ninja Forms connections so the original marketing source stays with downstream lead records.

Original landing page insights
Record where Microsoft Ads leads first entered your website and compare those entry pages with qualification and customer outcomes.

Preserve original attribution
Keep campaign details available as someone browses or returns later in the same browser, while the stored data remains available.
Retain available MSCLKIDs
Capture Microsoft click IDs in additional configured fields alongside the lead’s original campaign details.
Start a Madlitics free trial

Frequently asked questions

Answers to common questions about Microsoft Ads tracking with Madlitics and Ninja Forms