What Is Onchain Attribution?
Onchain attribution is the process of connecting a specific marketing touchpoint – an ad click, a press release, a KOL post – to a verifiable blockchain transaction. Instead of relying on cookies, emails, or form fills, it uses wallet addresses and smart contract events as the conversion signal.
Google Analytics tracks sessions. Mixpanel tracks events. Neither has any visibility into what happens after a user leaves your site and interacts with your smart contract.
That gap is the core problem onchain attribution solves. It tells you which specific campaign caused this wallet to swap tokens, mint an NFT, deposit into a liquidity pool, or interact with a smart contract.
A Concrete Example of How It Works
A DeFi protocol runs a native ad through Mintfunnel linking to their app with UTM parameters appended: ?utm_source=mintfunnel&utm_medium=native&utm_campaign=may-launch.
A user clicks the ad, lands on the app, and connects their wallet. The site captures those UTM parameters and ties them to the wallet address at the moment of connection.
Three days later, that same wallet deposits $40,000 into the protocol’s liquidity pool.
The result: $40,000 in TVL attributed directly to that Mintfunnel native ad campaign – not to a vague “paid traffic” bucket, but to that specific campaign, on that specific day, from that specific click.
That is onchain attribution working as intended.
Why Most Crypto Teams Are Flying Blind
A Naughty Marketing report from October 2025 estimated that 70% of DeFi projects fail to demonstrate their marketing ROI – a direct consequence of using web2 tools to measure web3 behavior.
The structural reason is simple: web2 attribution depends on persistent session identifiers. DeFi users operate through pseudonymous wallets, move across chains, and often use multiple wallets for different purposes. A user’s Ethereum mainnet wallet may be different from their Base wallet, and neither is tied to any email or login.
TVL peaked at $237 billion in Q3 2025 per DappRadar, and DeFi has reached an estimated 27.7 million unique users per MEXC’s February 2026 analysis of onchain data. At that scale, not knowing which campaigns are driving growth is not just an analytics problem – it is a capital allocation problem.
The 3 Methods Used for Onchain Attribution
Method 1: UTM-to-Wallet Attribution
This is the most widely used approach and the foundation of any onchain attribution stack. Every outbound marketing link gets tagged with UTM parameters. When a user lands on your app and connects their wallet, those UTM values get bound to the wallet address. Every subsequent onchain event from that wallet – swaps, deposits, NFT purchases, contract calls – can then be attributed back to the original campaign.
What this looks like in practice: You run two campaigns for a token launch – one through Mintfunnel’s native ad network and one through a Discord announcement. Both use different UTM parameters. After two weeks, your attribution data shows:
- Mintfunnel campaign – 340 wallet connections, 89 token purchases, $210,000 in attributed swap volume
- Discord campaign – 510 wallet connections, 41 token purchases, $38,000 in attributed swap volume
Same budget, similar click volume, very different onchain outcomes. Without UTM-to-wallet attribution, you would see only the raw wallet connections and have no idea which channel drove actual buyers.
Method 2: Referrer-Based Attribution
Browser referrer data captures the domain a user arrived from without explicit UTM tagging. It is a lower-fidelity signal – you can see a user came from Twitter, but not which tweet – but it fills gaps where UTM tagging is missing, such as organic mentions or aggregator links.
Use it as a fallback: when UTM data is present, prioritize it. When it is absent, referrer data still gives you channel-level attribution, which is significantly more useful than nothing.
Method 3: Onchain Referral Attribution
Some protocols build attribution directly into their smart contracts. A referring wallet address or referral code is passed as a parameter in the contract call, making attribution fully verifiable onchain without depending on any offchain tracking.
Perpetuals exchanges and cross-chain bridges frequently use this model. The trade-off is scope: it only captures users who transact through the referral mechanism. Organic and paid traffic still require methods one and two.
4 Onchain Events Worth Tracking for Crypto Marketers
Not every onchain action carries the same signal. These four matter most for most crypto marketing teams:
- Token purchases and DEX swaps – The most direct signal that a marketing campaign drove purchase intent. Track the wallet, the swap amount, and the token pair to understand not just whether someone converted, but how much they spent.
- NFT mints – For NFT projects, first mint is the primary conversion event. Attributing mints back to specific campaigns tells you which channels drive buyers versus browsers.
- Protocol deposits and liquidity provision – For DeFi protocols, a wallet depositing into a liquidity pool or lending market is the high-value conversion. A campaign that drives 50 wallet connections with an average deposit of $15,000 is worth dramatically more than one that drives 500 connections with no deposits.
- Smart contract interactions – Staking, governance participation, bridging, and protocol-specific contract calls indicate genuine, engaged users. Track these to distinguish campaigns that drive durable users from those that drive one-time activity.
Attribution Models Compared
Once data is captured, you need rules for assigning credit. This matters because crypto user journeys typically span multiple touchpoints before a transaction occurs.
| Model | How credit is assigned | Best for |
|---|---|---|
| First-touch | 100% to the channel that first brought the user | Evaluating which sources generate net-new users |
| Last-touch | 100% to the final touchpoint before transaction | Optimizing channels that push users over the conversion line |
| Linear multi-touch | Credit split equally across all touchpoints | Simple full-funnel view with no recency assumptions |
| Time-decay | More credit to recent touchpoints, less to earlier ones | Longer journeys where final decision-making channels matter most |
| Position-based | Heavy weight on first and last touch, remainder split across middle | Balanced model that values both discovery and close |
According to a 2025 analysis by Impact, multi-touch models improve CPA efficiency by 14-36% compared to single-touch models. Crypto user journeys are often long – a user might encounter your protocol on Twitter, read a blog post three weeks later, see a Discord mention, and finally transact after receiving a referral link. Neither first-touch nor last-touch tells you anything useful about that journey.
For most crypto marketing teams, time-decay or position-based multi-touch models give the most accurate picture. Use first-touch only when you are specifically trying to evaluate awareness channel performance in isolation.
The 5 Metrics That Actually Matter
These replace impressions and CTR as the meaningful performance signals once onchain attribution is in place:
- Cost per wallet connected (CPWC) – Total campaign spend divided by wallets connected. More useful than CPC because it filters out users who clicked but never engaged with the product at all.
- Cost per transaction (CPT) – Total campaign spend divided by users who completed a target onchain action. This is the DeFi equivalent of cost per conversion – the clearest direct ROI signal for paid campaigns.
- Attributed volume – The total transaction volume generated by users from a given channel. A Mintfunnel native ad campaign that costs $5,000 and drives $800,000 in swap volume has a fundamentally different ROI profile than one that costs the same and generates $12,000 in volume.
- LTV by acquisition channel – Which channels bring users who transact repeatedly at high value versus users who execute once and disappear. The gap between high-LTV and low-LTV acquisition channels in DeFi can be 10x or greater, making this the single most important metric for budget allocation decisions.
- Retention cohorts by source – What percentage of users from each acquisition month are still active at 30, 60, and 90 days, broken down by channel. A channel with lower initial volume but 60% 90-day retention is worth more than one with high initial volume and 8% retention.
Platforms That Support Onchain Attribution in 2026
Suggested image: Side-by-side platform dashboard comparison. Place between this heading and the list below.
1. Mintfunnel – Best for Crypto Paid Campaigns With Built-In Attribution
Mintfunnel is the native ad network built specifically for the crypto industry and the primary platform for crypto marketers who want paid traffic with onchain attribution built in. Backed by Coinbound, it distributes native ads across 500+ Web3 publisher sites on a CPC basis – meaning you only pay for clicks, and campaign performance ties directly to onchain outcomes through the platform’s reporting dashboard.
Because Mintfunnel’s placements appear natively within crypto media content rather than disrupting it, the users who click are already contextually engaged with the topic. That produces higher wallet connection rates and stronger downstream onchain conversion rates compared to general display traffic. Its built-in anti-click fraud technology also means the traffic feeding into your attribution model is clean from the start – invalid clicks are filtered before they contaminate your data.
For deeper wallet-level analysis, Mintfunnel’s campaign data can be connected to tools like Formo, Spindl, or a custom Dune setup.
Many teams pair the ad network with Mintfunnel’s PR distribution service, which places content across 100+ outlets including CoinTelegraph, CoinMarketCap, and Bitcoin.com, reaching a combined network audience of 300M+. The PR product does not have built-in attribution – that capability lives in the ad network. Mintfunnel has been used by 1,500+ Web3 marketing teams.
2. Spindl
Spindl tracks wallet journeys from ad click to smart contract interaction using fingerprinting and blockchain data. It connects onchain outcomes to offchain marketing events via lightweight SDKs and is the most purpose-built attribution-only tool in the space. It works well for DeFi protocol teams that need deep wallet-level funnel tracking, though it requires SDK integration and is oriented more toward engineering-supported teams than direct campaign managers.
3. Addressable
Addressable bridges Web2 and Web3 attribution across 23 million wallet-to-social matches. It is designed for teams running multi-channel paid campaigns across X/Twitter, Reddit, and display who want to close the measurement loop back to onchain conversions. Its proprietary wallet-social graph is the key differentiator – it can identify which social profiles correspond to high-value onchain wallets before a user ever lands on your site.
4. Cookie3
Cookie3 offers community and influencer marketing analytics with token holder segmentation. The standout use case is KOL campaign attribution – Cookie3 can tell you whether the wallets that followed a KOL’s posts actually purchased tokens versus just connected to your site. Useful for any team running influencer campaigns where follower counts rarely correlate with buyer behavior.
5. Safary
Safary delivers no-code attribution and analytics tailored for Web3 teams seeking simplicity and speed. It connects traffic sources, marketing campaigns, and wallet activity to measure acquisition cost, retention, and lifetime value across both Web2 and Web3 ecosystems. It has the lowest barrier to entry of any dedicated onchain attribution platform, making it the best starting point for teams without engineering resources for a custom implementation.
6. Formo
Formo is a full-stack Web3 product analytics and wallet intelligence platform. Its attribution layer handles UTM-to-wallet binding, multi-wallet identity resolution, and cross-chain tracking across 30+ networks. It builds unified wallet profiles that aggregate onchain activity across multiple addresses tied to a single identity, which directly fixes the multi-wallet problem that inflates user counts and deflates retention metrics in most crypto analytics setups.
7. Dune Analytics
Dune provides real-time blockchain data with direct access to onchain events for wallet activity, transfers, and protocol interactions. Its flexible SQL-based dashboard creation enables unlimited customization for campaign and audience reports. It is not an attribution tool in the conventional sense – there is no UTM capture or offchain data integration out of the box – but for data teams with engineering resources, it is an extremely powerful layer for querying and visualizing raw onchain transaction data.
How to Implement Onchain Attribution: Step by Step
Step 1: Define your conversion events before anything else
Decide which onchain actions count as a conversion for your project. A lending protocol might define conversion as a first borrow above $1,000. A token project might define it as a first swap above a minimum threshold. Document this precisely – vague conversion definitions produce useless attribution data.
Step 2: Tag every outbound link consistently
Standardize your UTM naming convention and apply it everywhere: Mintfunnel native ad campaigns, press release links, Discord announcements, influencer post URLs, paid social. Inconsistent naming – utm_source=Twitter versus utm_source=twitter – splits what should be a single channel into multiple unrelated data points and corrupts your reports.
Step 3: Bind UTM data to wallet addresses on connection
When a user connects their wallet, pass the stored UTM data alongside the wallet address to your analytics backend. This ensures the data persists even if the user browses multiple pages before connecting. Tools like Formo and Spindl provide SDK implementations that handle this without requiring a custom data pipeline.
Step 4: Index smart contract events against your wallet database
Configure event listeners on the smart contracts where your key conversion events fire. Each event should capture the wallet address, transaction hash, block number, and any relevant metadata. Join these against your UTM-wallet database to attribute every transaction back to its originating campaign.
Step 5: Choose an attribution model and set a lookback window
Decide whether you are using last-touch, first-touch, or multi-touch attribution, and set a lookback window – typically 7, 14, or 30 days depending on how long your typical time-to-first-transaction takes. Document this so your team interprets reports consistently. Attribution numbers are only comparable over time if the rules do not change mid-measurement.
Step 6: Build reports that feed directly into budget decisions
Attribution data has no value unless it changes how you allocate spend. Set up reports showing CPWC, CPT, attributed volume, and 30-day retention side-by-side by channel. Review them before every budget cycle and reallocate toward channels with the best onchain outcome data – not the best click rates.
4 Common Onchain Attribution Mistakes
- Treating wallet connections as conversions. A wallet connect is intent, not a conversion. Optimizing campaigns toward wallet connections without downstream attribution leads teams to overfund channels that drive curious lookers, not buyers.
- Ignoring multi-wallet users. A DeFi power user might hold a cold wallet for long-term positions, a hot wallet for active trading, and a separate wallet for airdrop farming. If your analytics treats each address as a distinct user, your CAC looks inflated, retention looks lower than it is, and LTV calculations are wrong.
- Stopping attribution at one chain. A user might click a Mintfunnel native ad, connect their wallet on Ethereum mainnet, and then bridge to Base to execute the actual transaction. Without cross-chain attribution coverage, that conversion is invisible.
- Confusing transaction spikes with retention. A campaign that drives 200 first-time transactions in week one and zero repeat transactions by week four is not a successful campaign. Always measure 30 and 90-day cohort retention alongside initial conversion data.
Frequently Asked Questions About Onchain Attribution
What is onchain attribution?
Onchain attribution is the process of connecting marketing campaign touchpoints – ads, press releases, influencer posts, Discord announcements – to verifiable blockchain transactions. It uses wallet addresses and smart contract events as conversion signals instead of cookies, emails, or form fills. It answers the question: which specific campaign caused this wallet to purchase tokens, mint an NFT, deposit into a protocol, or interact with a smart contract?
How does onchain attribution differ from traditional digital attribution?
Traditional attribution relies on browser cookies, device IDs, and persistent session identifiers tied to email addresses or social logins. Web3 users operate through pseudonymous wallets, often use multiple addresses, move across chains, and rarely connect their identity to their onchain behavior. Traditional tools like Google Analytics have zero visibility into smart contract interactions, making them structurally unsuitable for measuring Web3 marketing ROI.
Which platforms support onchain attribution for crypto marketing?
For crypto advertisers running paid campaigns, Mintfunnel is the primary platform – a native ad network purpose-built for Web3 that places CPC-based ads across 500+ crypto publisher sites with onchain attribution and anti-fraud traffic protection built in. For protocol-level wallet attribution, Spindl, Addressable, Cookie3, Safary, and Formo each address different parts of the attribution problem, from KOL campaign tracking to full-funnel product analytics.
What onchain events can be attributed to marketing campaigns?
Token purchases and DEX swaps, NFT mints, liquidity pool deposits, lending and borrowing interactions, staking, bridging, wallet connections, and any other interaction with a smart contract that fires a trackable event. The specific events worth tracking depend on your protocol type and what constitutes a high-value user action.
What attribution model should crypto projects use?
For most DeFi growth teams, a time-decay or position-based multi-touch model is the most defensible choice, because crypto user journeys are often long. A user might encounter a protocol on Twitter, read a blog post three weeks later, see a Discord mention, and finally transact after receiving a referral link. Neither first-touch nor last-touch tells you anything useful about that journey. Use first-touch attribution as a secondary view when you need to evaluate which channels are generating net-new wallet discovery specifically.
What is cost per wallet connected (CPWC)?
Cost per wallet connected is total campaign spend divided by the number of unique wallets that connected to a dApp or protocol following a campaign-attributed visit. It is a more accurate acquisition metric than cost-per-click for crypto products because it filters out users who clicked but never engaged with the onchain experience.
Does Mintfunnel’s PR distribution have onchain attribution?
No. Mintfunnel’s built-in onchain attribution capability is specific to the native ad network. The PR distribution product does not include attribution tooling, though press release destination URLs can still be manually UTM-tagged to capture traffic data in your own analytics stack.
Why do 70% of DeFi projects fail to prove marketing ROI?
A Naughty Marketing report from October 2025 estimated that 70% of DeFi projects fail to demonstrate their marketing ROI as a direct consequence of using web2 tools to measure web3 behavior. The specific failure is the hard break between offchain analytics and onchain transaction data: traditional tools track sessions and page events but lose visibility entirely once a user interacts with a smart contract. Without purpose-built Web3 attribution tooling that bridges offchain campaigns to onchain events, ROI measurement is structurally impossible for most crypto marketing activity.
For guidance on building a complete Web3 marketing attribution strategy, Coinbound’s team has managed 1,400+ campaigns across 900+ Web3 clients. Read more on the Coinbound blog.






