How to Capture Google Ads Data in Ninja Forms

Keep original Google Ads campaign details with your Ninja Forms leads, then compare campaigns with lead quality, customers and revenue in your existing tools.
Attribution is broken

Google Ads reports clicks and conversions, but evaluating lead quality means connecting those campaigns with what happens after someone submits your form. Which enquiries become opportunities? Which campaigns bring in customers?

Madlitics captures the original campaign details supplied in your Google Ads URLs and preserves them as leads browse. When someone submits your Ninja Form, the configured fields receive that attribution alongside their answers, including the original landing page and supported click IDs when available.

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

Why Google Ads Campaign Performance Matters

Traffic metrics show what it costs to bring people to your website. Connecting those visits with leads and customers helps you evaluate what the campaigns produce.

The illustrative example below shows how the same campaigns look when measured by traffic alone and then by customer outcomes.
‍

Google Ads Campaign Performance Based on Traffic Metrics

Campaign

Ad Spend

Visitors

Cost per Visitor

Google Search - CRM Software

$4,800

5,200

$0.92

Google Search - Attribution Tool

$2,600

2,100

$1.24

Google Display Retargeting

$3,900

8,900

$0.44

Campaign
Google Search - CRM Software

Ad Spend
$4,800

Visitors
5,200

Cost per Visitor
$0.92

Campaign
Google Search - Attribution Tool

Ad Spend
$2,600

Visitors
2,100

Cost per Visitor
$1.24

Campaign
Google Display Retargeting

Ad Spend
$3,900

Visitors
8,900

Cost per Visitor
$0.44


Display Retargeting generates the most visits at the lowest cost per visitor. On traffic metrics alone, it appears more efficient than either Search campaign.
‍

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

Campaign

Ad Spend

Visitors

Leads

Customers

Revenue

Google Search - CRM Software

$4,800

5,200

148

9

$38,000

Google Search - Attribution Tool

$2,600

2,100

121

17

$126,000

Google Display Retargeting

$3,900

8,900

201

3

$11,000

Campaign
Google Search - CRM Software

Ad Spend
$4,800

Visitors
5,200

Leads
148

Customers
9

Revenue
$38,000

Campaign
Google Search - Attribution Tool

Ad Spend
$2,600

Visitors
2,100

Leads
121

Customers
17

Revenue
$126,000

Campaign
Google Display Retargeting

Ad Spend
$3,900

Visitors
8,900

Leads
201

Customers
3

Revenue
$11,000


The customer data changes the comparison. Attribution Tool generates fewer leads than Display Retargeting but produces 17 customers versus three, with lead-to-customer conversion rates of 14.0% and 1.5%. Ad spend per customer is approximately $153 for Attribution Tool versus $1,300 for Display Retargeting. These figures cover advertising spend, rather than the full cost of acquiring a customer.

Madlitics supplies the original campaign attribution used to group leads. Connecting those fields with spend, customer and revenue records makes this comparison possible in your existing reporting tools. See how to use Ninja Forms marketing attribution to compare original lead sources with qualification, pipeline and customer outcomes.

Set up Google Ads tracking in Ninja Forms

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

1.

Install Madlitics on WordPress

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 Google Ads

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

Set up Ninja Forms for Google Ads
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 capture a supported click ID such as GCLID, add its corresponding field using the Madlitics field reference.

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 to compare campaigns with lead quality, opportunities and customers in your existing reports.

Google 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, Organic Search, or Referral.
segment1
The original source, including utm_source for tagged campaigns.
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 visitor’s original landing page URL.
lpg
The original landing page group, based on the first URL path segment.
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 Google Ads attribution with lead 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
See how leads first attributed to Google Ads compare with other marketing channels.

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 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 campaign values with customer and revenue records to compare Google Ads results.

Related articles

Get started with Google Ads attribution in Ninja Forms

Madlitics keeps original Google Ads campaign details attached to your Ninja Forms leads, even when they browse before submitting. Configure the attribution fields, map them into your existing tools, and compare campaigns with the outcomes your team cares about.

Start a free trial to capture campaign context alongside your leads and bring it into your CRM reporting.

Capture Google Ads attribution automatically

Keep campaign context with your leads, from the original ad visit to your CRM reports.

Capture Google Ads campaign details
Record the source, campaign, ad group or term, and creative values supplied through your campaign URLs.

Revenue-focused reporting
Use captured campaign fields alongside connected customer and revenue records to evaluate results past clicks and submissions.

Send data to your tools
Map captured fields through your existing Ninja Forms connections to keep campaign context with downstream lead records.

Original landing page insights
See where Google Ads leads first entered your website and compare those entry pages with lead quality 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.
Capture available Google click IDs
Retain supported click IDs, such as GCLID, in additional configured fields alongside the lead’s campaign details.
Start a Madlitics free trial

Frequently Asked Questions

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