Skip to content

Conversions & Revenue Attribution

Measuring impressions and clicks is only half the story. The Conversions & Revenue Tracking subsystem in AdFuz Pro allows you to measure bottom-line return on investment (ROI) by tracking purchases, signups, downloads, and custom JavaScript trigger events back to specific ad campaigns and creatives.


Page / URL Destination

Trigger conversions when visitors reach a specific confirmation or thank-you page (e.g. /thank-you/ or /checkout/order-received/*).

WooCommerce Orders

Native 1-click WooCommerce integration. Tracks completed order values, taxes, and shipping into total ad revenue metrics.

Button / Element Click

Count conversions when visitors click a specific CSS class or HTML element ID (e.g. #submit-lead-form).

JavaScript API Trigger

Programmatically trigger conversions from custom forms, single-page apps (SPAs), or AJAX events via adfuz_track_conversion().


Navigate to Ad Fuz → Conversions and click + New Conversion Goal.

  1. Name & Identifier: Enter a name (e.g. Newsletter Lead Signup).
  2. Goal Type: Select Page Visit, WooCommerce Purchase, or Custom JS Event.
  3. Goal Monetary Value:
    • Fixed Value (e.g. $25.00 per lead)
    • Dynamic WooCommerce Cart / Order Total
  4. Attribution Window: Set the conversion lookback window (7 Days, 14 Days, 30 Days).
  5. Attribution Model:
    • Last-Touch (Default): Credits 100% of the conversion value to the last ad clicked by the visitor.
    • First-Touch: Credits the initial ad that introduced the visitor to the site.
    • Linear: Distributes credit evenly across all ads the visitor interacted with before converting.
  6. Click Save Goal.

If you are using custom AJAX forms (such as Gravity Forms, WPForms, Contact Form 7, or React/Vue components), trigger conversions with one line of JavaScript:

// Trigger a lead conversion
if (typeof window.adfuz_track_conversion === 'function') {
window.adfuz_track_conversion('lead_signup', {
value: 15.00,
currency: 'USD',
order_id: 'LEAD-9821'
});
}

How does AdFuz Pro associate a conversion with a previously clicked ad?

Section titled “How does AdFuz Pro associate a conversion with a previously clicked ad?”

When a visitor clicks an AdFuz ad banner or Global Ad popup, a lightweight, privacy-compliant first-party cookie (adfuz_attr) records the creative ID and campaign ID. When a conversion goal fires within the attribution window, the attribution engine matches the cookie and credits the campaign without relying on third-party tracking scripts.

Does conversion tracking work with WooCommerce subscriptions and refunds?

Section titled “Does conversion tracking work with WooCommerce subscriptions and refunds?”

Yes. AdFuz Pro hooks into WooCommerce order status transitions (woocommerce_order_status_completed). If an order is refunded, the revenue adjustment is reflected in reporting metrics.