content

How to Track DeFi Marketing ROI: Connecting Offchain Campaigns to Onchain Conversions

How to Track DeFi Marketing ROI: Connecting Offchain Campaigns to Onchain Conversions

How to Track DeFi Marketing ROI: Connecting Offchain Campaigns to Onchain Conversions

Yos Riady

Yos Riady

Published

· Updated on

Updated

Updated

Key Takeaways

  • DeFi marketing ROI is the relationship between spend and downstream revenue, not between spend and surface engagement. High CTR and low bounce rate are attention metrics; activated wallets, repeat transactions, and retained TVL are capital movement metrics.

  • Define conversion per protocol type before measuring ROI: for lending protocols, a first borrow or meaningful deposit; for DEXs, a first swap above a minimum size threshold; for restaking, a first stake. Generic conversion definitions produce misleading ROI figures.

  • Cohort analysis is the most reliable ROI measurement method under pseudonymity: compare retention curves, median capital deployed, and TVL decay patterns by acquisition source across cohorts because individual wallet sessions are not stable cross-channel identities.

Spending your marketing budget in DeFi and crypto without being able to prove ROI often means growth is being measured at the surface-level metrics instead of sound metrics such as revenue. In DeFi, ROI only becomes defensible when marketing and GTM campaigns directly moves onchain metrics that matter such as revenue, deposits, swaps, borrows, and retained TVL.

At a glance, proving DeFi marketing ROI comes down to three key questions:

  • Are campaigns driving wallets to complete a meaningful activation (transactions, volume, revenue)?

  • Which users / wallets go on to transact again and retain over time?

  • Does a channel or campaign translate into long-term retention or just short-term activity?

This article reframes ROI around the link between attention and capital movement, rather than treating them as the same signal. ROI only becomes clear when it sits inside a coherent DeFi marketing strategy.

Why Marketing ROI Is Hard to Measure in DeFi

Marketing ROI is hard to measure in DeFi because acquisition happens offchain, while conversions happens onchain. These two layers are rarely connected in a clean way, which makes measuring growth and ROI tricky.

Most growth teams run campaigns across content, community, partnerships, and paid distribution. However, protocol revenue only shows up when wallets take activate through transactions like deposits, swaps, borrows, or stakes. This mismatch combined with data silos leads to growth reports with vanity metrics that look strong while TVL and usage remain flat. As a result, teams keep scaling marketing activity that does not move the needle.

Structural reasons ROI breaks down in DeFi:

  • Wallets are not stable user identities

  • Onchain actions can lag days or weeks after first awareness

  • Users have multiple touchpoints before committing real capital

  • Incentives distort short-term behavior

Constraint

How it distorts ROI

Pseudonymous wallets

You cannot follow a user across sessions reliably

Delayed conversions

Campaign impact shows up late or not at all

Multi-protocol journeys

Credit gets assigned to the wrong channel

Incentive-driven spikes

TVL jumps but exits as soon as rewards end

ROI in DeFi is best understood as the relationship between the cost to acquire a user (CAC) and the customer's lifetime value (LTV) and revenue, not between campaign spend and engagement on social channels.

Use our free ROI calculator to measure your crypto marketing ROI.

What a Conversion Means in DeFi

In DeFi, a conversion is a meaningful onchain action, because that is the point where a user acts on product intent. When a user swaps, deposits, or otherwise makes a transaction it shows that the user is completing a Job-to-be-done (JTBD.)

Clicks, visits, and wallet connects signal interest, but not commitment. Activation only becomes meaningful when a wallet completes the core action the product is designed for. This is why conversion needs to be defined at the product / protocol level and tied directly to it. Clicks and impressions is not real activation.

Typical conversion definitions by protocol type:

DeFi Protocol type

Practical conversion event

Lending

First borrow or meaningful deposit

DEX

First swap above a minimum size

Restaking

First stake into the protocol

Yield

First deposit into a strategy

Example:
On a mid-size DEX, growth and data teams often exclude swaps below a small dollar threshold from conversion reporting. Those low-value swaps are frequently bots, contract tests, or wallets farming eligibility for future incentives. Counting them as conversions inflates performance and leads to false confidence about campaign quality.

In practice, conversion should map to the action that creates protocol value, not just any onchain interaction.

How to Connect Channels and Campaign Sources to Wallet Actions

Offchain campaigns can be mapped to wallet actions by carrying attribution context (referral codes, UTM parameters, referrers) from the first visit to wallet connection and onchain transactions.

This works because campaign tags and referral parameters can persist in the user's session until a wallet connects. When the first transaction occurs, that wallet can be associated with its acquisition source.

A basic crypto attribution stack should include:

  • Tagged links with referral codes and UTM parameters

  • Analytics to track key events such as wallet connect and transaction

  • Indexing of key smart contract events

  • Joining session metadata with wallet addresses

Here is how attribution works at different stages:

Stage

What is captured

Why it matters

Awareness

Campaign source

Identifies where demand originates

Acquisition

Wallet events, session context

Bridges offchain to onchain data

Activation

Onchain events, transactions

Marks conversions

Revenue and Retention

Activity and transaction history

Signals retention quality

Channel-to-wallet mapping is the operational layer that allows growth teams to compare channels based on what they produce onchain, not what they produce in dashboards.

Attribution is a complex and deep topic that requires technical expertise and judgment to do right. Learn how Formo handles attribution.

Building Channel-to-Revenue Attribution

Channel-to-revenue attribution evaluates performance based on the revenue each channel generates, not the volume of traffic it generates.

Some channels create broad awareness with low intent. Others reach smaller but qualified users. When teams optimize for reach instead of revenue, budget flows toward channels that inflate metrics but fail to grow TVL. This is why spend often increases while protocol economics do not improve.

A value-aligned attribution framework usually focuses on:

  • Volume and revenue

  • First meaningful transaction

  • Repeat usage over time

  • Retained TVL by channel cohort

  • Channel-level lifetime revenue (LTV)

Metric

What it reflects

Activated wallets

Initial protocol adoption

Repeat transactions

Ongoing usage and habit formation

Retained TVL

Durable capital, not mercenary liquidity

Channel cohort LTV

Long-term economic contribution

Channel-to-revenue attribution reframes growth around outcomes that reflect real usage, retention, and capital durability.

How to Evaluate ROI When Users Are Pseudonymous

ROI can still be evaluated under pseudonymity by shifting from user-level tracking to cohort-level behavior analysis.

Because wallets are not stable identities, growth teams cannot rely on traditional user journeys. However, most growth decisions do not require perfect attribution. What matters is whether one channel consistently produces higher-quality wallets than another. This is why cohort analysis becomes the core pillar of ROI evaluation in DeFi.

Common cohort-level evaluation methods:

  • Retention curves by acquisition source

  • Median capital deployed per wallet by channel

  • TVL decay patterns across channel cohorts

Method

What it helps diagnose

Cohort retention

Whether users stick around

Median deposit size

Capital quality by source

TVL decay curves

Sustainability versus incentive chasing

This approach does not solve identity, but it produces actionable signal for allocating budget and effort.

Common ROI Traps and Misleading Reporting

ROI reporting in DeFi often looks better than reality because teams optimize for metrics that are easy to grow but weakly connected to revenue.

Impressions, clicks, and wallet connects scale quickly. This leads to dashboards that show momentum while deposits, borrows, or retained liquidity stagnate. As a result, teams double down on channels that create activity but not durable growth.

Frequent ROI traps:

  • Counting dust transactions as real conversions

  • Treating incentive-driven TVL as organic demand

  • Optimizing for wallet connects instead of revenue-generating actions

Trap

Why it misleads

Dust transactions

Inflates conversions without revenue

Incentive farming

Produces temporary volume and TVL that exits quickly

Connect-focused reporting

Hides low intent and poor activation

These traps lead to budget being allocated toward activity instead of toward growth that compounds protocol revenue.

Final Takeaway

DeFi marketing ROI only becomes credible when offchain acquisition is connected to sound metrics such as volume and revenue. Teams that optimize for clicks, connects, and short-term spikes will continue to scale activity without durable growth. The teams that compound are the ones that anchor growth measurement to retained TVL, repeat usage, and protocol revenue, not surface engagement.

FAQs

How do we prove that a marketing campaign actually drove revenue, not just traffic?

The connection is made by carrying campaign identifiers through the full user journey: from the first click to wallet connection to the first onchain transaction. When a user arrives from a tagged campaign link, Formo captures the UTM parameters in their session. When they connect a wallet, that wallet address is linked to the session and its campaign context. When the wallet transacts, the transaction is attributed back to the originating source.

The ROI formula this unlocks: Cost per Transaction = Campaign Spend / Transactions attributed to that campaign. A $5,000 influencer campaign that produced 100 attributed transactions has a cost per transaction of $50. Comparing this across channels gives you a budget allocation basis that does not rely on traffic volume or click counts.

One important nuance: campaigns that create awareness often do not receive direct last-touch credit because users return via a different channel before converting. Running first-touch and last-touch attribution in parallel reveals whether a channel is creating demand or closing conversions. Cutting a channel because it underperforms on last-touch while it consistently appears in first-touch data will reduce demand without the reporting showing why.

What is a conversion for a DeFi protocol?

A conversion is the onchain action that represents real user intent for your specific protocol type. Not every onchain interaction qualifies.

The practical definition varies. For a DEX, first conversion is typically a first swap above a minimum dollar threshold. For a lending protocol, it is a first meaningful deposit or first borrow. For a restaking protocol, it is a first stake. For a yield aggregator, it is a first deposit into a strategy.

Two things to exclude from conversion counts. First, wallet connections alone: connecting a wallet signals interest but commits no capital. Second, dust transactions: very low value interactions are often bots, contract tests, or wallets farming eligibility for future incentives. Teams that set a minimum threshold typically find their true conversion numbers are 30-50% lower than reported, while the remaining numbers are much more predictive of long-term TVL.

Define the conversion event at the protocol level before setting up attribution tracking. Generic definitions that count any onchain interaction as a conversion produce ROI figures that look strong and mean very little.

How do we map offchain campaigns to wallet actions if users are pseudonymous?

The mechanism is session-to-wallet linkage. When a user arrives from a tagged campaign link, UTM parameters are captured in their web session automatically. When that user connects a wallet, the wallet address is linked to the session containing the campaign context. All subsequent transactions from that wallet are attributed to the originating source.

This is deterministic attribution. You do not know who the wallet owner is, but you do know with certainty which campaign introduced them, because the link from session to wallet to transaction is explicit. Pseudonymity prevents knowing the person behind the wallet, which is irrelevant for marketing ROI. It does not prevent knowing which source produced the wallet.

The limitation is multi-touchpoint journeys. If a user visits from Twitter without connecting, returns three days later via a Discord link, and connects their wallet on that second visit, the first-touch source is Twitter and the last-touch source is Discord. Formo records both. The attribution model you apply (first-touch, last-touch, or linear) determines which channel gets credit for the conversion.

Referral codes extend this to partner and influencer tracking. Adding ?ref=partner_name to any link captures referrer attribution alongside UTM data, letting you attribute wallet connections and transactions back to specific referrers independently from broader channel attribution. Both can be on the same link.

What is the formula for calculating DeFi marketing ROI?

For paid campaigns, the core formula is:

Cost per Transaction = Campaign Spend / Transactions attributed to that campaign

Example: a $5,000 influencer campaign that drove 100 attributed wallet transactions has a cost per transaction of $50. A $2,000 Discord campaign that drove 80 transactions has a cost per transaction of $25. The Discord campaign has better ROI by this measure despite lower absolute volume.

For organic or community channels where spend is harder to isolate, the equivalent is Transaction Rate: the percentage of wallet connects from a source that went on to transact. A channel with a 50% wallet-to-transaction rate produces twice the activation quality of a channel with a 25% rate at the same connect volume.

For long-term ROI, the most useful metric is Revenue Per Wallet by source: total protocol revenue generated by wallets from a given channel divided by the number of wallets. This accounts for both conversion quality and user longevity. A source that converts at a lower rate but produces wallets with higher average net worth and better retention often has better long-term ROI than a high-volume source that drives low-quality wallets.

Which attribution model should I use: first-touch, last-touch, or linear?

The choice depends on the question you are trying to answer.

  • First-touch attribution gives 100% credit to the channel that introduced the user. Use this to understand which channels build awareness and fill the top of the funnel. It tells you what creates demand. The weakness is that it ignores everything that happened between discovery and conversion.

  • Last-touch attribution gives 100% credit to the channel the user came from immediately before converting. Use this to understand what closes conversions. It tells you what drives the final decision. The weakness is that it systematically undercredits awareness channels like content, community, and social that rarely appear as the last touchpoint.

  • Linear attribution splits credit equally across all touchpoints in the journey. Use this when you want a balanced view or when you suspect that optimizing for last-touch is causing you to underinvest in the channels that create initial demand.

In practice, run first-touch and last-touch simultaneously and look for divergence. A channel that appears prominently in first-touch data but rarely in last-touch data is creating awareness that other channels close. Cutting it based on last-touch ROI alone would reduce demand without the reporting showing why conversions later fell.

Why do channel ROI reports look strong while protocol revenue stays flat?

Reports look strong when they measure low-friction events. Impressions are easy to generate. Clicks are easy to generate. Wallet connections are easier to drive than actual transactions. A campaign report measuring impressions, CTR, and wallet connects will almost always show strong performance because those metrics are much easier to move than deposits, transaction volume, or retained capital.

The structural problem: most DeFi teams have attribution at the traffic and wallet-connect level but not through to onchain outcomes. The dashboard shows a campaign drove 500 wallet connects at a $2 cost-per-connect. The onchain data shows 40 of those wallets ever transacted and 3 became meaningful depositors. The campaign appeared successful in reporting and was a failure in protocol terms.

The fix is closing the loop: the UTM parameters that identify the campaign source need to persist through to the transaction event, not just the wallet connect event. Reports should show conversion rates at each funnel stage by channel, not just top-of-funnel volume. A channel with a 1% wallet-to-transaction rate at high volume is often worse than a channel with a 40% rate at low volume. Volume-only reports hide this.

What are the most common DeFi marketing ROI mistakes?

Counting wallet connections as conversions. Connecting a wallet costs nothing and commits no capital. A campaign that drives 1,000 wallet connects and 20 transactions has a 2% activation rate, not 1,000 conversions. Reporting at the connect level makes this invisible.

Measuring TVL at peak rather than post-incentive. TVL that arrives during a rewards campaign and exits when incentives end is rented capital, not retained capital. Measuring campaign ROI by peak TVL produces misleading figures. The relevant number is how much baseline TVL remained 30 and 60 days after the campaign ended.

Optimizing exclusively for last-touch ROI. Teams that cut awareness channels because they underperform on last-touch attribution often see conversion rates fall later without a clear explanation. Awareness channels (content, community, Twitter) rarely appear as the last touchpoint before conversion. They create the demand that last-touch channels close. Removing them based on last-touch data alone degrades the full funnel.

Not measuring user quality by source. A campaign driving 100 wallets with $10 average net worth and a campaign driving 20 wallets with $50,000 average net worth look identical in volume-based reports. Segmenting acquisition sources by wallet net worth, DeFi activity history, and retention rate reveals which channels produce high-quality users and which produce volume without lasting value.

About the Author

About the Author
About the Author
Yos Riady

Founder

Founder

Yos Riady is the founder and CTO of Formo, helping DeFi teams make analytics and attribution simple. Prior to Formo, he was a staff software engineer and tech lead at Chainlink Labs. He helped scale Chainlink into the industry-standard oracle for leading DeFi protocols such as Aave, Morpho, and Spark. He has been in crypto since 2018, working on protocol design, smart contract development, data engineering, and security.

Yos Riady is the founder and CTO of Formo, helping DeFi teams make analytics and attribution simple. Prior to Formo, he was a staff software engineer and tech lead at Chainlink Labs. He helped scale Chainlink into the industry-standard oracle for leading DeFi protocols such as Aave, Morpho, and Spark. He has been in crypto since 2018, working on protocol design, smart contract development, data engineering, and security.

Table of contents

Share this post

Measure what matters onchain

Formo makes analytics and attribution simple for DeFi apps.

Measure what matters onchain

Formo makes analytics and attribution simple for DeFi apps.

Measure what matters onchain

Formo makes analytics and attribution simple for DeFi apps.