# How I Built a Mobile Game Attribution Model Using SQL and Organic Uplift

DevFeed: [How I Built a Mobile Game Attribution Model Using SQL and Organic Uplift](<https://devfeed.tech/articles/how-i-built-a-mobile-game-attribution-model-using-sql-and-organic-uplift-122678.md>)

Original publisher: [Read original article](<https://hackernoon.com/how-i-built-a-mobile-game-attribution-model-using-sql-and-organic-uplift?source=rss>)

Author: Vikrant Bachhav

Published: 2026-11-08T18:49:02Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [Finance](<https://devfeed.tech/topics/finance.md>)

Tags: [acquisition](<https://devfeed.tech/tags/acquisition.md>), [adjustment](<https://devfeed.tech/tags/adjustment.md>), [adtech](<https://devfeed.tech/tags/adtech.md>), [advertising](<https://devfeed.tech/tags/advertising.md>), [aliases](<https://devfeed.tech/tags/aliases.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [attribution](<https://devfeed.tech/tags/attribution.md>), [cohort-analysis](<https://devfeed.tech/tags/cohort-analysis.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [facebook](<https://devfeed.tech/tags/facebook.md>), [factor](<https://devfeed.tech/tags/factor.md>), [game](<https://devfeed.tech/tags/game.md>), [growth-marketing](<https://devfeed.tech/tags/growth-marketing.md>), [identity](<https://devfeed.tech/tags/identity.md>), [install](<https://devfeed.tech/tags/install.md>), [ios](<https://devfeed.tech/tags/ios.md>), [marketing-attribution](<https://devfeed.tech/tags/marketing-attribution.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-attribution](<https://devfeed.tech/tags/mobile-attribution.md>), [mobile-game-marketing](<https://devfeed.tech/tags/mobile-game-marketing.md>), [model](<https://devfeed.tech/tags/model.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [revenue](<https://devfeed.tech/tags/revenue.md>), [sql](<https://devfeed.tech/tags/sql.md>), [user-acquisition](<https://devfeed.tech/tags/user-acquisition.md>)

## AI overview

The model unified install feeds from a mobile attribution vendor, a separate POP feed, and parsed WebGL events into a daily install table that reloaded the prior seven days. It normalized device IDs, resolved player IDs with a ten-day lookback, grouped more than 80 network-name variants while letting unmapped names remain visible, and assigned revenue to each install until the player's next install on the same app and OS. Monthly cohorts tracked net ARPI and ARPPU after a flat 30% store fee; vendor spend and CPI supported a recoup ratio. To account for paid campaigns' organic halo, title- and platform-specific uplift factors (about 0.07-0.36) added organic-ARPI value to networks' results, with raw and adjusted ARPI shown side by side. The UA team used the model to move budget, and network ARPI improved 7%. The author identifies uplift as the weakest assumption: install logs cannot prove causation, so a randomized geo test is preferable; otherwise treat the factor as a judgment, revisit it as campaigns change, and account for imperfect identity matching, mapping upkeep, and volatile recent cohorts.

## Source excerpt

Learn how a data engineer rebuilt mobile game attribution using SQL, unified install data, revenue cohorts, and organic uplift modeling.