Skip to content

How to capture Bing Ads data in Gravity Forms

If you run Bing Ads, the useful question is not how many clicks you bought but which campaigns, ad groups and ads produced leads and customers. Gravity Forms can hold that answer, provided the form has somewhere to store it. This guide walks through the four setup steps, maps each hidden field to the value it should receive, and shows how the captured data can feed entries, notification emails, a CRM and monthly reports.

What you are building, and why it matters

A Gravity Forms submission normally records only what the visitor typed. Attribution data — the campaign, ad group and ad that brought them in, plus the first page they landed on — has to be carried into the form separately. The setup below does that in four stages: tag your Bing Ads URLs with UTM parameters, add six hidden fields to the form, let the attribution tool fill those fields automatically, and then read the results in Gravity Forms.

Without this, you can see spend and clicks in the ads platform but cannot connect them to the leads in your form entries. With it, each entry becomes a record you can group by channel, campaign or creative.

Step 1: Tag your Bing Ads URLs with UTM parameters

UTM parameters are short text snippets appended to the destination URL of an ad. Analytics and attribution tools read them to identify the source of a visit. A tagged URL for a Gravity Forms integration page could look like this:

https://roipaths.com/integrations/gravity-forms?utm_medium=paidsearch&utm_source=bing&utm_campaign=brand-campaign

The exact formatting is your choice, but consistency is what makes later reporting possible. A recommended convention is:

  • UTM Medium = paidsearch
  • UTM Source = bing
  • UTM Campaign = the name of your Bing Ads campaign
  • UTM Term = the name of the ad group the ad belongs to
  • UTM Content = the specific ad

Keep the spelling and casing of these values stable across campaigns. If one ad uses “PaidSearch” and another “paidsearch”, your reports will treat them as different channels.

Step 2: Add six hidden fields to your form

The form needs six hidden fields so the attribution tool has somewhere to write. Add them to each lead capture form you want to track:

  • Channel
  • Channel Drilldown 1
  • Channel Drilldown 2
  • Channel Drilldown 3
  • Landing Page
  • Landing Page Group

In Gravity Forms, drag the field type labelled “Hidden” to the bottom of the form and give each one its name and default value. Field names must match the expected names exactly; a renamed field will not receive data. A separate walkthrough covers adding hidden fields in more detail.

Step 3: How the hidden fields get filled

Once the UTM parameters and hidden fields are in place, the attribution tool begins tracking where visitors come from. When a visitor submits a form, it populates the six hidden fields with that visitor's attribution data automatically — no manual entry and no extra question for the visitor.

A worked example makes the mapping concrete. Imagine a copywriting agency running a Bing Ads campaign promoting reduced rates for new clients. Depending on the UTM parameters on the ad, the fields would be filled as shown in the field map below.

Step 4: Confirm the data lands in Gravity Forms

On submit, the entry stores both the visitor's own answers and the attribution values supplied through the hidden fields. From there you have several practical options:

  • Open the Entries table in Gravity Forms and review individual submissions.
  • Add the attribution fields to the new lead notification email so the campaign context arrives with the lead.
  • Pass the values to a CRM such as Salesforce, Pipedrive or HubSpot so sales sees the source alongside the contact.
  • Export or report on the fields in your CRM, a spreadsheet or a reporting tool to compare campaigns.

Before relying on the data, submit a test entry from a tagged URL and confirm all six fields are populated as expected. An empty field is usually a naming mismatch or a missing UTM value, not a form failure.

Why browser-stored attribution changes the picture

Many tracking setups only pass UTM values when the parameters are present on the page where the form is completed. If a visitor lands on your homepage from a Bing ad and later fills in a form on your contact page, that visit's campaign data can be lost.

Storing the tracking data in the visitor's browser avoids that gap: the attribution is retained across pages, so the form can be completed anywhere on the site and still carry the original source. The same mechanism supports the landing page fields, which record the first page a lead visited and the section it belongs to. In the agency example, that might be a promotions page for the reduced-rate offer and the broader promotions section. This lets you judge content groups and individual pages by the leads and revenue they produce, not just by traffic.

Three monthly reports worth building

Once attribution data reaches your CRM or reporting tool, three report shapes are especially useful:

  • Leads by Channel — leads per month grouped by channel such as Paid Search or Paid Social, showing which channels actually generate leads.
  • Customers by Campaign — customers per month for each Bing Ads campaign, so you can compare campaigns and shift budget toward the ones that convert.
  • Revenue by Ad — revenue per month for each individual ad, revealing which messages and creatives resonate.

Each is a monthly view, so read trends across several months rather than a single period. Together they answer three different questions: where leads come from, which campaigns produce customers, and which ads produce revenue.

Pre-launch checklist

Run through these checks before you depend on the data:

  1. Every Bing Ads destination URL carries utm_medium, utm_source and utm_campaign, with utm_term and utm_content where you want ad group and ad detail.
  2. Parameter values use one consistent spelling and casing across all campaigns.
  3. All six hidden fields exist on every lead form, named exactly as listed.
  4. A test submission from a tagged URL fills Channel, Channel Drilldown 1-3, Landing Page and Landing Page Group.
  5. The notification email and CRM mapping include the attribution fields.
  6. At least one monthly report groups entries by campaign so the data is actually reviewed.
Hidden field map with worked example
Hidden fieldWhat it holdsExample value (copywriting agency)
ChannelThe broad marketing channelPaid Search
Channel Drilldown 1The traffic source within the channelBing
Channel Drilldown 2The campaignNew Client Promotion
Channel Drilldown 3The ad group or specific adReduced Rates Ad
Landing PageThe first page the lead visitedcuratedcopy.com.au/promotions/reduced-rate-offer
Landing Page GroupThe section that landing page belongs to/promotions

Example values follow the recommended UTM convention; actual values depend on the UTM parameters on your ads and the page a visitor first lands on.

Recommended UTM parameter convention
ParameterRecommended value
UTM Mediumpaidsearch
UTM Sourcebing
UTM CampaignThe name of your Bing Ads campaign
UTM TermThe name of the ad group the ad belongs to
UTM ContentThe specific ad

A suggested convention, not a requirement; the important thing is consistent values across campaigns.

Frequently asked questions

Do I need UTM parameters if the visitor came from a Bing ad?

Yes. The hidden fields are populated from the UTM parameters on your ad URLs. Without them, the form has no campaign, ad group or ad value to record, even though the visit originated from Bing.

What happens if a visitor lands on one page and submits the form on another?

With browser-stored attribution, the original campaign data is retained, so the form can be completed on a different page and still carry the source. Setups that rely only on parameters present at the form page can lose that data.

Why are my hidden fields empty on a test submission?

Check two things first: that the field names match the six required names exactly, and that the URL you tested from actually contains the UTM parameters. A renamed field or an untagged URL will both produce blank values.

Can I see the attribution data without a CRM?

Yes. The values are stored in the Gravity Forms entry, so you can review them in the Entries table or include them in the lead notification email. A CRM or reporting tool simply makes grouping and comparison easier.