Capture LinkedIn Ads Data in Gravity Forms
Impressions and clicks tell you what LinkedIn delivered, not what it earned. To judge return on ad spend, you need the campaign and ad behind every form submission, carried into the systems where leads are worked and reported.
Why clicks are not enough
LinkedIn reporting stops at delivery metrics. The missing link is what happens after the click: whether that visitor submitted a form, later became a customer, and how much revenue followed. Capturing campaign identifiers with the submission closes that gap and lets you compare campaigns on outcomes rather than clicks alone.
Four-step setup and verification checklist
Work through the setup in order, then verify one test submission end to end.
Checklist:
- Tag every LinkedIn ad destination with consistent campaign identifiers before launch.
- Install the attribution snippet on the site so the identifiers are read on arrival.
- Confirm the identifiers are stored in the browser rather than held only in the landing-page URL.
- Submit a test form from a tagged ad and check that the entry shows the campaign, ad, and landing page alongside the visitor's details.
- Confirm the same fields appear in the email notification and in the CRM or spreadsheet record.
- Build reports from the downstream record, not from the form entry alone, so customer and revenue outcomes can be joined to the campaign.
Step 1: Tag the ads
Use the ad destination URL to carry a consistent set of campaign labels. Consider a red LinkedIn creative in an illustrative Olmo Software brand campaign. Its tags could be UTM_Medium=paidsocial, UTM_Source=LinkedIn, UTM_Campaign=brand campaign, and UTM_Term= red ad. Choose labels that your team can reuse consistently; the example values identify the channel, campaign, and creative when you later group the form submissions.
Step 2: Install the attribution snippet
Place the attribution snippet on the site. On arrival, it reads where the visitor came from and assigns a channel such as Paid Social, Paid Search, or Organic Search, comparable to the groupings used in Google Analytics. A browser cookie retains that origin information so it can accompany a later form submission.
Step 3: Capture the data with the submission
Once installed, a visitor who clicks a tagged LinkedIn ad and completes a form produces a single record containing both the form answers, such as name, email, or phone, and the origin details, such as campaign and ad. That combined record is what makes downstream reporting possible.
What makes this approach different
The key distinction is persistence. A method that reads parameters only from the landing-page URL loses them when the visitor navigates elsewhere before submitting, for example landing on the homepage and then moving to a quote-request page. Storing the parameters in a cookie avoids that failure because the data is attached at submission time regardless of which page holds the form. A second distinction is scope: capturing only LinkedIn parameters tells you nothing about other origins, whereas capturing every origin lets you compare LinkedIn against organic search, paid search, referral, and direct traffic in the same report. A third distinction is context: also recording the landing page and its category shows which site sections, such as a blog, generate leads and which individual pages perform best.
Step 4: Use the data where leads are worked
With origin data attached to each submission, you can view the campaign behind each entry in the form's Entries area, include the origin fields in email notifications so the source is visible in the inbox, and pass the fields to a CRM such as Salesforce, HubSpot, or Pipedrive for campaign reporting. For charts and deeper analysis, send the records to a spreadsheet or a dashboard tool such as Google Data Studio.
Three reports worth building
Three reports cover most decisions. Leads by channel shows monthly lead volume per origin, which reveals whether LinkedIn is carrying its share or whether another channel, such as paid search with higher purchase intent, deserves more budget. Customers by campaign counts closed customers per LinkedIn campaign, which is a stronger basis for continuing or pausing spend than click volume. Revenue by ad type breaks revenue across formats such as Sponsored Content, Sponsored Messaging, and Text Ads, which can expose a format that earns clicks but converts poorly and should lose budget to better-performing formats.
Bottom line
LinkedIn can be a strong lead source, especially for B2B businesses, but only if you can tie each campaign to leads, customers, and revenue. Tag the ads, store the origin data in the browser, attach it to every form submission, and report from the downstream record. That sequence turns form submissions into evidence for where to invest and where to stop.
Frequently asked questions
Can LinkedIn Ads reporting alone show lead and revenue ROI?
No. LinkedIn's own reporting covers impressions and clicks, but it does not by itself show how many of those clicks became leads, customers, or revenue. Adding campaign identifiers to the ad destination and carrying them through the form submission connects the two sides.
What if a visitor lands on one page and submits a form on another?
Yes, if the attribution data is stored in the browser and attached at submission time. That is different from reading parameters only on the landing page, which fails when the visitor moves to another page before submitting.
Where should the captured data be visible after setup?
Check the form entry, the email notification, and the downstream record in your CRM or spreadsheet. Each should show the same campaign, ad, and landing-page fields so you can trace a lead without reconstructing it manually.