How to Capture LinkedIn Ads Data in Ninja Forms

Keep original LinkedIn campaign and creative details with your Ninja Forms leads, then compare campaigns with qualified opportunities and customer outcomes.
Attribution is broken

LinkedIn campaigns bring the right people to your website, but submission counts only tell part of the story. Understanding their value means connecting the original campaign with lead qualification, opportunities and customers.

Madlitics captures the campaign details supplied in your LinkedIn ad URLs and preserves that attribution as someone browses. When they submit your Ninja Form, the original channel, campaign details and landing page appear alongside their answers.

Pass those fields through your existing Ninja Forms connection to keep campaign context with the CRM record. Your team can then compare LinkedIn campaigns and creatives with pipeline and customer outcomes using its existing reports.

Why LinkedIn Ads Campaign Performance Matters

Traffic metrics show how efficiently LinkedIn campaigns bring people to your website. Connecting those visits with leads and customers helps you evaluate the business they introduce. This illustrative example compares the same campaigns using traffic metrics and then customer outcomes.
‍

LinkedIn Ads Campaign Performance Based on Traffic Metrics

Campaign

Ad Spend

Visitors

Cost per Visitor

LinkedIn Ads, Demo

$4,800

5,200

$0.92

LinkedIn Ads, ABM

$2,600

2,100

$1.24

LinkedIn Ads, Sponsored

$3,900

8,900

$0.44

Campaign
LinkedIn Ads, Demo Campaign

Ad Spend
$4,800

Visitors
5,200

Cost per Visitor
$0.92

Campaign
LinkedIn Ads, ABM Campaign

Ad Spend
$2,600

Visitors
2,100

Cost per Visitor
$1.24

Campaign
LinkedIn Ads, Sponsored Content

Ad Spend
$3,900

Visitors
8,900

Cost per Visitor
$0.44


Sponsored Content generates the most visits at the lowest cost per visitor. ABM attracts fewer visits at a higher cost, making it appear less efficient when the comparison stops at traffic.
‍

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

Campaign

Ad Spend

Visitors

Leads

Customers

Revenue

LinkedIn Ads, Demo Campaign

$4,800

5,200

148

9

$38,000

LinkedIn Ads, ABM

$2,600

2,100

121

17

$126,000

LinkedIn Ads, Sponsored

$3,900

8,900

201

3

$11,000

Campaign
LinkedIn Ads, Demo Campaign

Ad Spend
$4,800

Visitors
5,200

Leads
148

Customers
9

Revenue
$38,000

Campaign
LinkedIn Ads, ABM Campaign

Ad Spend
$2,600

Visitors
2,100

Leads
121

Customers
17

Revenue
$126,000

Campaign
LinkedIn Ads, Sponsored Content

Ad Spend
$3,900

Visitors
8,900

Leads
201

Customers
3

Revenue
$11,000

‍

Customer outcomes change the comparison. ABM produces 17 customers from 121 leads, while Sponsored Content 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 ABM versus $1,300 for Sponsored Content. These figures cover advertising spend rather than the full cost of acquiring a customer.

Keeping original campaign details with lead records lets your team make these comparisons when attribution is connected with customer, spend and revenue data in your reports. See how to use Ninja Forms marketing attribution to compare original lead sources with qualification, pipeline and customer outcomes.

Set up LinkedIn 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 LinkedIn Ads

Add UTMs to the website URLs used in your LinkedIn ads. Supply consistent, readable values for the source, campaign, ad set or audience label, and creative you want recorded with each lead.

For example: https://www.yoursite.com/demo?utm_source=linkedin&utm_medium=paid_social&utm_campaign=demo_q1&utm_term=marketing_leaders&utm_content=video_ad_1

Here, marketing_leaders is a label you supply for the targeting group, and video_ad_1 identifies the creative.

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

To retain an available LinkedIn click ID, configure the additional field for li_fat_id using the Madlitics field reference.

Set up Ninja Forms for LinkedIn 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 LinkedIn campaigns and creatives with lead qualification, opportunities and customers in your existing reports.

LinkedIn 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 Social.
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 set or audience label.
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 LinkedIn campaign attribution with lead qualification 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 LinkedIn 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 LinkedIn campaign values with connected customer and revenue records to compare campaign results.

Related articles

Get started with LinkedIn Ads attribution in Ninja Forms

Madlitics keeps original LinkedIn campaign details with your Ninja Forms leads as they browse and submit. Map those fields into your existing tools to compare campaigns and creatives with the opportunities and customers they introduce. Start a free trial to capture attribution alongside your leads and bring that context into your CRM reporting.

Why use Madlitics with Ninja Forms to capture LinkedIn Ads data

Keep LinkedIn campaign context with your leads, from the original website visit to your CRM records.

Capture campaign and creative details
Record the source, campaign, targeting label and creative values supplied through your LinkedIn campaign URLs.

Compare campaigns with pipeline
Use captured campaign fields alongside CRM stages to see which campaigns introduce qualified leads and opportunities.

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 LinkedIn 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.
Keep attribution structured
Record campaign details in defined fields so your connected tools receive a consistent structure for grouping and reporting.
Start a Madlitics free trial

Frequently asked questions

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