# Revenue Attribution

Original URL: https://www.fireplugins.com/docs/revenue-attribution/revenue-attribution/
Last updated: 2025-10-23T13:32:18+03:00

Revenue Attribution helps you understand how much money your popups and on-site campaigns actually generate. It connects your campaigns with real sales from your eCommerce plugin, showing which ones contribute the most to your revenue.

 By linking campaign interactions to completed purchases, FireBox lets you measure success based on sales, not just clicks or impressions. This gives you a clear view of which popups are truly profitable, which need improvement, and where to focus your optimization efforts.

 **Revenue Attribution** is available in [Pro](https://www.fireplugins.com/pricing/?hide_free=1) and [Growth](https://www.fireplugins.com/pricing/?hide_free=1) plans.

 ## How it works

 FireBox uses two attribution models, depending on whether a visitor performed a conversion before making a purchase. A conversion refers to an action tracked within FireBox itself such as submitting a form created with FireBox or clicking a button or link where the “Track Conversion” option is enabled.

 Both models follow a **multi-touch (linear)** approach, meaning the purchase revenue is split equally among all qualifying campaigns, ensuring fair credit distribution across multiple touchpoints in the customer journey.

 ### **Conversion Attribution Model**

 Used when a visitor performs one or more conversions before making a purchase. In this model, the total purchase revenue is attributed as **Conversion-Through Revenue (CTR)** and split equally among all campaigns where conversions occurred. It provides a fair view of how multiple campaigns collectively drive meaningful interactions that lead to revenue.

 Let’s see an example: A visitor views Campaign A → converts on Campaign B → converts again on Campaign C → later buys for €100.

 - Campaign B receives €50 CTR, and Campaign C receives €50 CTR.
- Campaign A receives €0 since no conversion occurred.

 ### **View Attribution Model**

 Used when no conversions occur before the purchase. In this case, the entire purchase is attributed as **View-Through Revenue (VTR)** and split equally among all campaigns the visitor viewed. If the visitor viewed only one campaign before buying, that campaign receives 100% of the revenue.

 This includes automatically displayed campaigns, such as slide-ins, notification bars, and other popups that appear without user-triggered actions. All these are considered view-through impressions, since they are shown to the visitor and can influence purchasing decisions without requiring interaction.

 Let’s see an example: A visitor views Campaign A and Campaign B (no conversions) → later buys for €60. Each campaign receives €30 VTR.

 ## Attribution Flow (Behind the Scenes)

 FireBox performs all revenue tracking **client-side**, using a JavaScript script that runs in the visitor’s browser. It stores tracking information locally through a browser cookie named `firebox_attribution`, which connects campaign views and conversions with completed purchases.

 This cookie has a default expiration period of **30 days**, which is refreshed every time the visitor views a campaign. For example, if a visitor first views a campaign today, the cookie expires in 30 days. If they return five days later and views a campaign, the expiration resets to 30 days from that new interaction.

 Here’s how the tracking flow works behind the scenes:

 1. **Campaign Viewed:** When a visitor sees a campaign, FireBox records the view and stores the campaign ID and timestamp in the cookie. This allows FireBox to remember which campaigns the visitor has seen, even across multiple visits.
2. **Campaign Conversion:** If a visitor converts within a campaign, FireBox updates the cookie to mark that campaign as a conversion touchpoint. The cookie’s expiration date is refreshed to remain valid for another 30 days.
3. **Purchase Completed:** If the visitor completes a purchase within the attribution period window, FireBox checks the cookie and matches the order to the recorded campaign data.
4. **Revenue Recorded:** Once the purchase is successfully matched, FireBox attributes the total order amount based on the visitor’s recorded interactions. If one or more conversions occurred before the purchase, the revenue is assigned according to the **Conversion Attribution Model**. If no conversions occurred, the revenue is assigned according to the **View Attribution Model**.

 Note: For Revenue Attribution to work, the visitor’s browser must have cookies enabled. If cookies are disabled, cleared, or manually deleted during the 30-day window, FireBox loses the tracking link. In that case, any future purchases from that visitor will not be attributed to any campaign.

 ## Supported WordPress eCommerce Plugins

 FireBox automatically begins revenue attribution tracking when it detects a supported eCommerce integration. Currently, the following platforms are supported:

 - **WooCommerce**
- **Easy Digital Downloads**

 ### **Attribution Rules**

 - **Only live orders are tracked:** Subscription renewals are not included in attribution reports.
- **Guest checkouts are counted:** As long as the visitor’s browser cookie remains active, FireBox can attribute revenue to campaigns even if the user is not logged in.
- **Refunds are not taken into account:** If a purchase is attributed to a campaign and later refunded, the attribution will still appear in the campaign reports. This is intentional, since the campaign successfully influenced the visitor’s decision to make the purchase, even if it was later canceled or refunded.

 ## Reports

 FireBox automatically adds revenue data to all existing analytics views in your dashboard. Wherever you currently see metrics such as **Views**, **Clicks**, **Conversions**, or **Conversion Rate**, you’ll now also see the following revenue-related metrics for each campaign.

 - **View-Through Revenue (VTR):** The total revenue generated from visitors who saw a campaign but did not convert before making a purchase.
- **Conversion-Through Revenue (CTR):** The total revenue generated from visitors who converted within a campaign
- **Total Revenue:** The combined sum of both VTR and CTR, representing the full financial impact of your campaign.

 ### Where to Find Revenue Reports

 Revenue data appears throughout the FireBox dashboard wherever campaign analytics are available. For example:

 - **Campaign Overview:** Displays total revenue per campaign alongside Views, Clicks, and Conversions.
- **Analytics Dimensions:** Breaks down revenue by Device, Country, Path, or other dimensions, showing how much revenue each segment contributes.
- **Sales Funnel Analysis:** Shows how visitors progress from viewing a campaign to converting and eventually purchasing, including:
  - Drop-off percentage between steps.
    - Conversion rate between each stage (e.g., Click → Conversion, Conversion → Purchase).
    - Revenue attributed to each stage and campaign.

 All data updates automatically as new completed orders are detected from your supported eCommerce plugin.

 ## Frequently Asked Questions

 ### Can I disable Revenue Attribution?

 No. Revenue Attribution is automatically enabled when FireBox detects a supported eCommerce integration. It runs silently in the background to connect your campaigns with real sales data.

 ### Can I change the 30-day attribution window?

 No. The attribution window is fixed at 30 days. This ensures consistency across all campaigns and keeps reports comparable. Every time a visitor interacts with a campaign, the window refreshes and extends for another 30 days.

 ### Can I view which specific orders came from a campaign?

 Not yet. Currently, FireBox displays aggregated revenue metrics such as View-Through Revenue (VTR) and Conversion-Through Revenue (CTR).
