Lead Attribution for Hybrid Ecommerce Brands: Tracking Wholesale, B2B, and Quote Requests
Lead attribution for a hybrid ecommerce brand means capturing the ad click source at the moment someone submits a wholesale application, B2B inquiry, or quote form, then carrying it into your CRM so you can connect that lead to an order or to revenue later. It does not happen automatically. A form submission is not a store order, so the click data your ad platforms and ecommerce tools collect has to be copied into the form on purpose. This guide walks through how to do that, and where AdBeacon fits and where it does not.
One clarification up front. AdBeacon is 100% ecommerce for now. It measures ecommerce orders with first-party, click-only attribution, and it does not connect to any CRM or support lead-gen ecosystems, CRMs or call tracking software. For form leads, wholesale applications and quote requests, your brand needs its own form and CRM source capture, such as hidden UTM and click ID fields. AdBeacon covers the DTC order side. The rest of this post covers the lead side.
Why does lead attribution break for brands that sell DTC and take wholesale or quote requests?
It breaks because the two sales motions create different records in different systems. DTC orders land in your store with a clear order ID and revenue. Wholesale applications and quote requests land in a form tool or CRM, often with no trace of the ad click that brought the visitor in.
Three things usually go wrong:
- Source is lost between the click and the form. The visitor lands from an ad, browses a few pages, then submits a form. By then the URL parameters are gone.
- Lead campaigns and DTC campaigns share one dashboard. A campaign built to drive wholesale inquiries gets judged on store ROAS, or the reverse.
- The sale happens offline or later. A quote turns into a purchase order weeks afterward, and nobody links it back to the click.
The fix is a capture-and-carry process. Capture the source on landing, store it, write it into the form, then pass it into the CRM.
How do you capture click source in a lead form?
You capture it by saving UTM parameters and click IDs on the first page view, then writing those values into hidden form fields so they submit with the lead.
The steps:
- Standardize your UTMs. Google Analytics recommends always using utm_source, utm_medium, and utm_campaign, and notes that values are case sensitive. Pick naming rules once. Our guide to UTMs covers the conventions.
- Read click IDs from the landing URL. Each platform appends its own:
gclidfor Google Ads,fbclidfor Meta, andttclidfor TikTok. TikTok describes its click ID as a parameter appended to the landing page URL when someone clicks an ad. Meta notes the fbclid value is case sensitive and should not be modified, as described in its fbc parameter documentation. - Store them in a first-party cookie. The visitor often browses before they convert. Google's own guidance for offline imports suggests saving the GCLID in a cookie or local storage and adding a hidden form field for it. Its sample script uses a 90-day expiry.
- Populate hidden fields on submit. Add hidden inputs for utm_source, utm_medium, utm_campaign, utm_content, gclid, fbclid, ttclid, landing page, and referrer. A small script fills them from the cookie when the form loads.
- Map the fields into your CRM. Create matching CRM properties, such as original source, campaign, and click ID, so the values do not land in a notes field where nobody can report on them.
| Click ID | Platform | Watch for |
|---|---|---|
| gclid | Google Ads | Needs auto-tagging on |
| fbclid | Meta | Case sensitive, store it unchanged |
| ttclid | TikTok | Appended to the landing URL on click |
Only the platform that sent the visitor fills its click ID. Blank click ID fields are normal; a blank utm_source on a paid lead is the one to fix.
Example values. Use your own naming convention.
Test it the way a customer would: click a tagged ad, browse two pages, submit the form, and confirm every field arrives in the CRM record. Fix any blank field before you scale spend.
How do you track a lead through to an order or revenue?
You track it by giving each lead a stable identifier, usually the email address, and matching it to the order or invoice record when the sale closes.
What works in practice:
- Wholesale applications that convert to store accounts. If approved buyers order through a wholesale storefront or a tagged customer group, match the customer email back to the CRM lead and attach the order revenue.
- Quote requests that close by invoice or purchase order. Have your sales team log the closed amount and date on the CRM record. Without that field, source data is only half useful.
- Lead status stages. Use simple stages, such as submitted, qualified, quoted, and won, so you can report conversion by source at each step.
Report conversion by source at each stage. The closed amount is what turns source data into revenue data.
Once closed revenue is in the CRM, you can report revenue by original source and campaign. If you run Google Ads, you can also send those outcomes back to the platform. Google documents enhanced conversions for leads, which pairs hashed first-party data from lead forms with imported offline conversions.
How do you separate lead-gen campaigns from DTC campaigns in reporting?
You separate them by naming and by measurement: lead campaigns get their own naming convention and are judged on lead cost and closed revenue, while DTC campaigns are judged on store orders and ROAS or profit.
- Naming. Add an objective tag to every campaign name and UTM, such as
dtcorwholesale, so filters work in every tool. - Separate conversion events. Optimize wholesale campaigns to a form-submit event and DTC campaigns to purchases. Do not mix them in one campaign.
- Separate scorecards. Track cost per lead, qualified rate, and closed revenue for lead campaigns in your CRM. Use AdBeacon for the ecommerce side: click-based, store-matched orders by channel and campaign in its Orders report, so DTC numbers are not mixed with lead activity or inflated by platform view-through credit. For the bigger picture across channels, see cross-channel attribution.
- Be careful with overlap. A wholesale buyer who also places a small DTC order can appear on both sides. Decide in advance which system owns that customer and note the rule in your reporting documentation.
- Event
- Form submit
- Judge on
- Cost per lead, qualified rate, closed revenue
- Lives in
- Your CRM
- Event
- Purchase
- Judge on
- Store orders, ROAS or profit
- Lives in
- AdBeacon Orders report
Lead attribution comes down to capturing source into the form, carrying it into the CRM, and recording closed revenue so the loop closes. Keep lead campaigns and DTC campaigns on separate scorecards so neither distorts the other. AdBeacon can start on day one over Zoom or self-serve, and a free account unlocks about 80% of AdBeacon with no card and no time limit. If you want to see the ecommerce half of this measured on your own store data, book a live AdBeacon demo.
FAQ
What is lead attribution for ecommerce?
It is the process of tying a lead, such as a wholesale application or quote request, back to the ad click or channel that produced it. For hybrid brands, it sits alongside order attribution for DTC sales.
Does AdBeacon track wholesale leads or CRM deals?
No. AdBeacon is 100% ecommerce for now and does not connect to any CRM or support lead-gen ecosystems, CRMs or call tracking software. Capture lead source in your forms and CRM, and use AdBeacon to measure the ecommerce side.
What are hidden UTM fields?
They are form inputs that visitors do not see, filled automatically with UTM values and click IDs so the source is submitted with the lead.
Why store click IDs in a first-party cookie?
Because visitors rarely submit a form on the landing page. A cookie keeps the click ID available when they convert later in the session or on a return visit.
Sources
- Google Analytics Help: URL builders: Collect campaign data with custom URLs
- Google Ads Help: Set up offline conversions using Google Click ID (GCLID)
- Google Ads Help: About enhanced conversions for leads
- Meta for Developers: ClickID and the fbp and fbc Parameters
- TikTok Ads Help Center: About TikTok Click ID