Skip to content

Set up click tracking

Analytics4 min read

This article walks you through enabling click tracking on a campaign, generating tracker URLs, and linking clicks to leads so advertiser postbacks and sold-lead revenue show up on the Clicks dashboard.

Prerequisites

  • A campaign already exists (Campaigns → your campaign).
  • You know which traffic sources will send the traffic.
  • Click Tracking is available on your account (sidebar → Clicks).
  • To attribute advertiser conversions, the campaign must have a CPC buyer (Buyer type = CPC). The inbound cpc postback requires that buyer id.

Enable click tracking on the campaign

  1. Open Campaigns and select the campaign.
  2. Open the campaign settings where Click Tracking is configured.
  3. Turn Click Tracking on.
  4. Save the campaign.

Expected result: the campaign can generate tracker URLs and record clicks for that traffic.

Build a tracker URL

  1. Open Clicks (or the campaign’s tracker / URL builder surface).
  2. Choose the campaign and the traffic source that will use the link.
  3. Add the parameters your source needs (affiliate id, sub ids, fbclid if you run Meta traffic).
  4. Copy the generated tracking URL.
  5. Place that URL in your ads, landers, or publisher placements so visitors hit Datahubb before the destination.

Expected result: each visit creates a click with a unique click id, then redirects to your destination.

Pass the click id into lead submit

For lead attribution to work, the lead must carry the click that generated it.

  1. Keep the click id from the tracking hop on the page (query string, hidden field, or your form platform’s token).
  2. Include that value as click_id (or your mapped field) when the lead is posted to Datahubb.
  3. Submit a test lead from a real tracked click and confirm the lead shows the linked click.

Expected result: the generating click is tied to the lead. When the lead sells, it counts as a lead conversion on that click.

Wire advertiser (CPC) conversions

Advertiser conversions only attribute when a CPC buyer exists on the campaign. Create that buyer before you ask partners to fire postbacks.

  1. Open Buyers and create (or reuse) a buyer on this campaign with Buyer type = CPC. This buyer is the advertiser side of the conversion — not a lead-delivery buyer.
  2. Copy the inbound postback URL for the cpc event from the in-app Postback Guide (it includes the required buyer_id).
  3. Give the advertiser that URL. They must send the Datahubb click id as transaction_id, the CPC buyer id as buyer_id, and payout when they have it.
  4. Fire a test conversion and open Clicks → the click detail to confirm an advertiser conversion appears against that CPC buyer.

Expected result: the click shows an advertiser conversion attributed to the CPC buyer, and advertiser revenue rolls into click metrics.

What success looks like

  • New traffic creates rows under Clicks.
  • Test leads from tracked URLs show a Test Lead badge on the click (money metrics stay clean).
  • Sold live leads show under lead / channel conversion views for the generating click.
  • Advertiser postbacks land as CPC conversions on the same click when configured.

Troubleshooting

  • No clicks recorded — Confirm the URL is the Datahubb tracking link (not a direct destination), the campaign has click tracking on, and you are not hammering the same fingerprint (duplicate clicks are suppressed briefly).
  • Lead conversion missing — Attribution uses the click that generated the lead. Remarketing / later offer clicks that only inherit the lead do not get the lead conversion. The lead must also be sold (not only received).
  • Advertiser conversion missing — Confirm a CPC buyer exists on the campaign, the postback includes that buyer_id, uses the click id as transaction_id, and uses the cpc event type.
  • Meta CAPI not firing — Include fbclid on the original tracking URL so it is stored on the click.

Frequently asked questions

No. Click tracking is for CPC and journey attribution. You can sell leads without it. Turn it on when you need click-level reporting, offer walls, or advertiser postbacks tied to a click id.

Inbound cpc postbacks require a buyer_id on the campaign. Create a buyer with Buyer type CPC to attribute advertiser revenue to that buyer. Without it, the conversion cannot be recorded correctly.

Test leads are excluded from revenue and never create a sold-lead conversion by design. Use the Test Lead badge on the click to confirm the funnel linked the lead.

An advertiser conversion comes from an external CPC postback attributed to a CPC buyer on the click. A lead conversion is when that click’s generating lead is sold. One click can have both; global revenue still counts lead sales once.

Use the tracker or URL builder under Clicks (or the campaign click settings), pick the campaign and traffic source, add the parameters you need, then copy the generated link.
Back to Help Center

Comments

No comments yet — be the first to share your thoughts.

Leave a comment

Comments are reviewed before they’re published.