How to Capture Microsoft Ads Data in Ninja Forms


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.
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
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
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.
Capture original campaign details with each lead and keep that context in your connected tools.
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.


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.
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.


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.
channelsegment1utm_source.segment2utm_campaign.segment3utm_term, such as an ad group label or keyword.segment4utm_content, such as a creative variation.lplpgClick IDsCompare captured Microsoft campaign attribution with lead quality and customer outcomes in your existing reports.
Leads by channel
Compare leads first attributed to Microsoft paid campaigns with other sources using the captured channel and source fields.
Conversion rate by channel
Use CRM outcomes to compare the proportion of leads from each original channel that become customers.
Revenue by campaign
Combine captured Microsoft campaign values with connected customer and revenue records to compare campaign results.
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.
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.
Answers to common questions about Microsoft Ads tracking with Madlitics and Ninja Forms