Overview
Player acquisition is one of the biggest problems for a game studio. A game needs sustainable unit economics: the lifetime revenue of a player (LTV) must be greater than the cost to acquire the player (CAC), by a healthy multiple. Without attribution, you cannot tell which posts, creators, festivals and ads work. Attribution helps answer:- Where did players come from?
- What did players do next: wishlist, install, play, buy?
- Which channels bring players who keep playing (retention) and who pay (revenue)?
- Which campaigns deserve more time or budget?
Example
Attribution for a game is complex. Consider this journey of one player of a game called Star Forge:- The player watches a creator’s YouTube video and clicks the link in the description,
starforge.com/?ref=LUCA(touchpoint). - The player reads the press kit page and clicks the Steam button. Steam does not tell you that the click became a wishlist.
- A week later, the player sees a Reddit devlog post and visits
starforge.com/?utm_source=reddit&utm_campaign=devlog(touchpoint). - The player downloads the demo and opens it for the first time:
game_openwithis_first_open: true(install). - The player finishes the tutorial:
tutorial_complete. - The player buys the soundtrack on the website with Stripe:
purchase(conversion).
- With first touch, the whole conversion goes to the creator code
LUCA(channel Referrals). - With last touch, the whole conversion goes to Reddit (channel Organic Social).
- With linear, each touchpoint gets half.
How attribution works in Manalens
To follow the whole journey, Manalens connects two places: your website, where campaigns land, and your game, where players play and pay. Here is a high-level overview: Each conversion goes through four steps: Manalens has two parts:- Attribution: event-based analytics about where, how, and at what time players reach your website: referrers, UTM parameters, referral codes, ad click IDs and channels.
- Identity: joining the events of one player into one profile: website visits, game installs, sessions and purchases.
1. Touchpoint capture
The Web SDK reads the landing URL and the referrer of each page view:
Manalens adds two fields.
paid_source is the ad network. Its values are google, meta, microsoft, tiktok, and twitter. Other values are linkedin, reddit, snapchat, and paid_utm for a paid utm_medium. click_id is the first click ID. Then it classifies the channel. Values over 255 characters, or with unsafe characters, are dropped.
Some referrers are not a source:
- Your own site: your project domain, its subdomains, other hosts with the same root domain, and your allowed origins.
- Sign-in and checkout pages: for example
accounts.google.com,steamcommunity.com/openid,checkout.stripe.comorpaypal.com. A player who comes back from a sign-in or a payment did not come from Google or PayPal.
*.itch.zone. When the page has no referrer, Manalens sets the referrer https://itch.io, so the visit counts as Referrers, not Direct.
A game build has no landing page, so its events have no campaign fields. Server events have none either. Reports show them as Direct. Install attribution gives an install the source of the website visit before it.
Campaign continuity
In a single-page app, the SDK keeps the landing campaign in memory and adds it to latertrack and identify calls. A new tagged landing replaces the whole campaign, so two campaigns are never mixed. The campaign is not written to browser storage.
Acquisition channels
Manalens gives each browser event one channel (channel_type) as it stores the event. The first matching rule wins:
There are 13 channels: Display, Paid Search and Paid Social each have two rules. The site lists match the referrer domain (without
www. and m.) and the lower-case utm_source.
A paid signal is an ad click ID, gad_source, or a paid utm_medium. A paid utm_medium is cpc, cpm, cpv, cpa, ppc, or paidsearch. It can also be paidsocial, sem, retargeting, or any value that starts with paid.
Sessions and touches
A session groups the events of one visit. It ends after 30 minutes without events. A session has the source of its first page view. See sessions. A touch is a page view that starts a session, or a page view with a new source, medium, campaign, referrer, referral or click ID. Repeated page views with the same source in one session are one touch, so they do not get more credit.2. Identity stitching
A player can visit your website on a phone, then on a laptop, then open your game. When a link is certain, Manalens joins these into one player:- The same user ID. Call
identify()with the same user ID on the website, in the game and on your server. See identify users. - A cross-domain link. The game opens your website with a cross-domain link (
get_cross_domain_url()in Godot,GetCrossDomainUrl()in Unity, Get Cross Domain URL in Unreal). The website then joins this player without sign-in. - A browser game on your domain. It shares the visitor ID with your website.
Install matching
A native game build cannot read your website’s cookie. Without a certain link, Manalens matches a first open of the game (game_open with is_first_open: true) to a website visitor on the same network:
- A website visit keeps a keyed hash of the visitor’s IP address for 72 hours. The IP address is never stored.
- The first open of the game makes the same key.
- One to three visitors with the key give a match. More give none (an office, a school, a VPN).
- The install gets the source of that visitor’s page views, with the first touch, the last touch, or the last non-Direct touch.
Attribution waterfall
Manalens uses the strongest link it has. The certain links (1 to 4) apply together: they join the IDs of one player into one profile. If an install has no certain link to a website visit in the lookback, it falls back to the Google Play install referrer (5). Then it falls back to the network match (6).
Methods 5 and 6 only credit an install: they never join two profiles, so a purchase in the game is credited to the website only through methods 1 to 4.
A referral code is not a link between two devices: it is a touch of its own. A code typed in the game, on your website or at checkout gets credit wherever it is typed.
Manalens does not use fingerprinting, advertising IDs (IDFA or GAID) or data from mobile measurement partners.
3. Conversion
A conversion is an exact, named event, such aspurchase, wishlist_clicked, tutorial_complete or game_open. There is no guess from event names. Store payments from Stripe, Paddle and itch.io count as purchase events, and a verified Steam link adds Steam purchases. A sale is counted once: see revenue.
Only the touches at or before the conversion, inside the lookback window, count. A conversion with no touch is unattributed.
4. Credit by model
Manalens has six rule-based attribution models:
See a worked example with numbers for each model.
Which touches count, and how far back, depends on the report:
On Players and profiles, each field is resolved on its own. The fields are channel, referrer, referral, ad network, each UTM parameter, and click ID. So a player’s first
utm_source and first referrer can come from different visits.
Overview revenue by source and the Attribution page use different rules, so their numbers by source do not match. Use the Attribution page to compare models, and Overview for a quick split of all revenue.
Steam store visits
Links to your Steam page do not visit your website, so the Web SDK does not see them. Steam’s own UTM Analytics counts store visits, wishlists and purchases from links to your store page withutm_ parameters. Manalens imports it every day: see Steam.
Steam credits a wishlist only to a visit by a player signed in to Steam, within 72 hours of the click. Manalens estimates how many of all your wishlists came from your campaigns. It combines Steam’s daily wishlist adds, the UTM Analytics rates, and the store clicks on your website. See wishlist attribution.
Referral codes
A creator can share a link with?ref=LUCA. A creator can also ask viewers to type the code LUCA in the game, in a form on your website, or at checkout. Both are the same referral: codes are upper case, so ?ref=luca and a typed LUCA add up. A referral is the Referrals channel. See referral codes.
Ad click IDs
Paid traffic is attributed with the click ID that each ad network adds to your landing URL. Manalens keeps every click ID and names the network inpaid_source (Google, Meta, Microsoft, TikTok, X, LinkedIn, Reddit or Snapchat). It uses the click ID for the channel with no referrer too. A missing referrer is common in in-app browsers. gad_source marks Google as the source but is not a click ID. See what we collect.
Limits
Attribution uses observed visits and clicks. It does not track ad impressions or view-through, import ad spend, or compute ROAS or cost per install. It has no data-driven model. Profiles join only on a certain link. The network match of installs is likely, not certain: it credits an install but never joins two profiles. Attribution cannot see missing referrers, untagged links or cleared cookies. Visits on another device join only afteridentify() with the same user ID, or a cross-domain link from your game.
Glossary
FAQ
Does Manalens capture attribution parameters automatically?
Does Manalens capture attribution parameters automatically?
Yes. When a visitor lands on your website, the Web SDK captures UTM parameters, the browser referrer, referral codes and ad click IDs. Manalens associates them with the session and the player. A game install gets the source of the website visit before it through install attribution.
What happens if a player visits from several sources before converting?
What happens if a player visits from several sources before converting?
Manalens records every touch. The Audience page and player profiles show the first-touch and last-touch values. The Attribution page splits the credit with the model you choose, and Compare models shows two models side by side.
Can I use both UTM parameters and ref codes on the same link?
Can I use both UTM parameters and ref codes on the same link?
Yes. Combine them for full attribution:
?ref=LUCA&utm_source=youtube&utm_medium=video. Both are captured. The channel is Referrals: in the channel rules, a referral code comes before Organic Video. With a paid signal and a search, video or social source (for example utm_medium=paid and utm_source=youtube), a paid channel comes first.Does attribution work when a player installs on another device?
Does attribution work when a player installs on another device?
Only with a certain link: the same user ID from
identify() on both devices, or a cross-domain link. The network match of install attribution needs the same network within 72 hours. So a visit on a phone network followed by an install on home Wi-Fi is not matched.