How to Capture Microsoft Ads Data in Gravity Forms

Connect original Microsoft Ads campaign data to your Gravity Forms leads, then follow their progress into customers and revenue inside your CRM.
Attribution is broken

A potential customer clicks your Microsoft ad, explores your website, and returns later to submit an inquiry. Without the original campaign details attached to their Gravity Forms entry, your team loses the connection between that lead and the advertising that introduced them.

Madlitics captures their original attribution, preserves it as they browse and return, and writes it into your configured Gravity Forms fields. Source, campaign segments, original landing page, and available click IDs can then travel alongside the lead into your CRM.

This guide explains how to capture Microsoft Ads data in Gravity Forms and use it to compare which campaigns bring qualified leads, opportunities, and revenue.

Why Microsoft Ads campaign attribution matters

Clicks and form submissions don’t tell you which Microsoft Ads campaigns generate customers. Connecting campaign attribution from Gravity Forms to your CRM reveals how those leads translate into revenue. This illustrative example shows how campaign performance changes when you look beyond traffic.

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


Based on traffic alone, Search Retargeting looks strongest: it brings the most visitors at the lowest cost per visit. Connecting those visits to leads, customers, and revenue reveals a different picture.
‍

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


The Demo Requests campaign generated 17 customers and $126,000 in revenue from $2,600 in ad spend. Search Retargeting brought more visitors and leads, but produced only three customers and $11,000 in revenue.

That translates to approximately $153 in ad spend per customer versus $1,300. Capturing original Microsoft Ads attribution in Gravity Forms and passing it into your CRM helps you identify those differences and allocate budget using customer outcomes.

How to capture Microsoft Ads data in Gravity Forms

Tag your ads, configure Madlitics and Gravity Forms, and receive original Microsoft campaign attribution alongside each lead.

1.

Add UTM parameters to Microsoft Ads

Add consistent UTM parameters to your Microsoft Ads destination links. Use them to identify the source, campaign, and ad group or creative details you want to compare in your reports.

Example campaign URL: https://example.com/demo?utm_source=microsoft&utm_medium=cpc&utm_campaign=demo_requests&utm_term=marketing_teams&utm_content=video_a

Here, microsoft identifies the source and demo_requests identifies the campaign, marketing_teams records the chosen ad group and video_a identifies the creative variation.

Build your Microsoft Ads campaign URLs
Install Madlitics
Add UTM parameters
2.

Install Madlitics on WordPress

Add the Madlitics script across your website so it captures attribution when visitors first arrive from your ads.

Madlitics preserves the original campaign context as visitors navigate and return, keeping it available when they submit a form on another page.

Install Madlitics on WordPress
3.

Configure Gravity Forms attribution fields

Add the default Madlitics hidden fields to your new or existing Gravity Form. These receive the marketing channel, campaign segments, original landing page, and landing page group without adding questions for visitors to complete.

For tagged campaigns, Segment 1 records utm_source, Segment 2 records utm_campaign, Segment 3 records utm_term, and Segment 4 records utm_content. Configure additional fields if you want to include supported click IDs such as msclkid.

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

Receive Microsoft Ads attribution in entries and your CRM

When a visitor submits, Madlitics populates the configured fields with their saved attribution. Open Forms → Entries to see the original campaign details alongside their contact information.

Map those fields into your CRM through your Gravity Forms integration, webhook, or automation workflow. As leads become opportunities and customers, their original campaign attribution remains available for reporting in the connected system.

Report on Microsoft Ads leads, customers, and revenue

Connect captured Microsoft campaign data to your CRM records to compare which campaigns bring qualified leads, customers, and revenue.

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 lead generation across Paid Search, Paid Social, Organic Search, Email, Referral, and Direct traffic, and more.

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
Measure which traffic sources convert leads into paying customers and see which channels consistently produce high-value customers and stronger revenue performance.

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
Connect attribution data to customer and revenue outcomes to identify which Microsoft Ads campaigns are driving actual business growth.

Related articles

Get started with Microsoft Ads attribution in Gravity Forms

Keep original Microsoft Ads campaign details alongside your leads, from Gravity Forms submission through to reporting in your CRM.

Follow the Gravity Forms setup guide to configure your fields, or explore UTM tracking in Gravity Forms for parameter mapping and tagging examples.

Why use Madlitics with Gravity Forms to capture Microsoft Ads data

See which campaigns drive real business results.

Comprehensive channel coverage
Automatically classify leads into 18+ acquisition channels, including Display, Email, Organic, Paid, AI, and more.

Revenue-focused reporting
Create reports showing which campaigns generate leads, customers, and revenue beyond traffic metrics.

Send data to your tools
Pass campaign and landing page data into ActiveCampaign, HubSpot, Zoho and existing workflows automatically.

Landing page conversion
‍
Identify which landing pages, offers, and content generate the highest-quality leads and customers.

Persistent session data
Keep attribution attached to the lead even when visitors browse multiple pages or convert later.

Structured UTM data
Standardize inconsistent UTM tags and campaign data into a unified structure across campaigns, sources, and tools.
Start a Madlitics free trial

Frequently asked questions

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