{"id":1737,"date":"2026-07-13T13:00:00","date_gmt":"2026-07-13T18:00:00","guid":{"rendered":"https:\/\/dev.tolinku.com\/?p=1737"},"modified":"2026-03-07T03:50:05","modified_gmt":"2026-03-07T08:50:05","slug":"installatie-validatie-attributie","status":"publish","type":"post","link":"https:\/\/tolinku.com\/nl\/blog\/install-validation-attribution\/","title":{"rendered":"Installatievalidatie: zorg voor correcte attributie"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Install-validatie is het proces waarbij je controleert of een gemelde app-install echt is. Zonder validatie bevatten je attributiedata nep-installs van device farms, emulators, SDK-spoofing en andere fraudetechnieken. Nauwkeurige attributie vraagt dat je weet welke installs echt zijn.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Deze gids behandelt technieken voor install-validatie. Voor click injection specifiek, zie <a href=\"https:\/\/tolinku.com\/nl\/blog\/click-injection-detectie\/\">click injection-detectie<\/a>. Voor attributiefraude in het algemeen, zie <a href=\"https:\/\/tolinku.com\/nl\/blog\/attributie-fraudedetectie\/\">attributiefraude: gids voor detectie en preventie<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Waarom install-validatie belangrijk is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In een typische mobiele advertentiecampagne zijn 10-30% van de gemelde installs mogelijk frauduleus (<a href=\"https:\/\/www.appsflyer.com\/state-of-mobile-app-fraud\/\" target=\"_blank\" rel=\"noopener\">volgens schattingen uit de industrie<\/a>). Als je $50.000 uitgeeft aan een campagne die 10.000 installs oplevert, en 2.000 daarvan zijn nep, dan is je effectieve CPI $6,25 in plaats van $5,00. Belangrijker nog: je attributiedata klopt niet meer. Je optimaliseert campagnes op basis van data die nep-gebruikers bevat.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Validatietechnieken<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Validatie van App Store-receipts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Zowel Apple als Google bieden API's voor receiptvalidatie. Daarmee bevestig je dat een install uit de offici\u00eble App Store komt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>iOS: App Store-receipt<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">De <a href=\"https:\/\/developer.apple.com\/documentation\/appstorereceipts\" target=\"_blank\" rel=\"noopener\">App Store-receipt<\/a> is een cryptografisch ondertekend bestand dat bewijst dat de app uit de App Store is gedownload:<\/p>\n\n\n\n<pre><code class=\"language-swift\">func validateAppStoreReceipt() -&gt; Bool {\n    guard let receiptURL = Bundle.main.appStoreReceiptURL,\n          FileManager.default.fileExists(atPath: receiptURL.path) else {\n        return false \/\/ Geen receipt, niet ge\u00efnstalleerd via de App Store\n    }\n\n    guard let receiptData = try? Data(contentsOf: receiptURL) else {\n        return false\n    }\n\n    \/\/ Stuur naar je server voor validatie\n    \/\/ Je server roept Apple&#039;s verifyReceipt-endpoint aan\n    return sendToServerForValidation(receiptData)\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Validatie op de server:<\/p>\n\n\n\n<pre><code class=\"language-typescript\">async function validateAppleReceipt(receiptData: string): Promise&lt;boolean&gt; {\n  \/\/ Try production first\n  let response = await fetch(&#39;https:\/\/buy.itunes.apple.com\/verifyReceipt&#39;, {\n    method: &#39;POST&#39;,\n    body: JSON.stringify({ &#39;receipt-data&#39;: receiptData }),\n  });\n\n  let result = await response.json();\n\n  \/\/ Status 21007 means sandbox receipt, retry with sandbox URL\n  if (result.status === 21007) {\n    response = await fetch(&#39;https:\/\/sandbox.itunes.apple.com\/verifyReceipt&#39;, {\n      method: &#39;POST&#39;,\n      body: JSON.stringify({ &#39;receipt-data&#39;: receiptData }),\n    });\n    result = await response.json();\n  }\n\n  return result.status === 0; \/\/ 0 = valid\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Android: Play Integrity API<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">De <a href=\"https:\/\/developer.android.com\/google\/play\/integrity\" target=\"_blank\" rel=\"noopener\">Play Integrity API<\/a> (opvolger van SafetyNet) verifieert dat de app echt is, het apparaat niet is geroot en de install via Google Play komt:<\/p>\n\n\n\n<pre><code class=\"language-kotlin\">class IntegrityChecker(private val context: Context) {\n    suspend fun checkIntegrity(): IntegrityResult {\n        val integrityManager = IntegrityManagerFactory.create(context)\n\n        val nonce = generateNonce() \/\/ Server-gegenereerde nonce\n\n        val request = IntegrityTokenRequest.builder()\n            .setNonce(nonce)\n            .build()\n\n        val response = integrityManager.requestIntegrityToken(request).await()\n        val token = response.token()\n\n        \/\/ Stuur token naar je server voor verificatie\n        return verifyOnServer(token, nonce)\n    }\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verificatie van SDK-handtekeningen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Verifieer dat attributie-SDK-events uit je echte app komen en niet uit een nagemaakte SDK:<\/p>\n\n\n\n<pre><code class=\"language-typescript\">interface InstallEvent {\n  appId: string;\n  sdkVersion: string;\n  timestamp: number;\n  signature: string;\n  deviceInfo: DeviceInfo;\n}\n\nfunction verifySDKSignature(event: InstallEvent, secretKey: string): boolean {\n  const payload = `${event.appId}:${event.timestamp}:${event.deviceInfo.deviceId}`;\n  const expectedSignature = hmacSHA256(payload, secretKey);\n  return event.signature === expectedSignature;\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Server-side install-verificatie<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Verifieer installs op je server aan de hand van meerdere signalen:<\/p>\n\n\n\n<pre><code class=\"language-typescript\">interface ValidationResult {\n  valid: boolean;\n  score: number; \/\/ 0-100 betrouwbaarheidsscore\n  flags: string[];\n}\n\nfunction validateInstall(event: InstallEvent): ValidationResult {\n  const flags: string[] = [];\n  let score = 100;\n\n  \/\/ Check 1: formaat van het device ID\n  if (!isValidDeviceIdFormat(event.deviceInfo.deviceId)) {\n    flags.push(&#039;invalid_device_id&#039;);\n    score -= 40;\n  }\n\n  \/\/ Check 2: plausibele timestamp\n  const now = Date.now() \/ 1000;\n  if (Math.abs(now - event.timestamp) &gt; 3600) {\n    flags.push(&#039;timestamp_drift&#039;);\n    score -= 20;\n  }\n\n  \/\/ Check 3: bekende emulatorsignaturen\n  if (isEmulatorSignature(event.deviceInfo)) {\n    flags.push(&#039;emulator_detected&#039;);\n    score -= 50;\n  }\n\n  \/\/ Check 4: App Store-receipt\n  if (!event.storeReceipt) {\n    flags.push(&#039;no_store_receipt&#039;);\n    score -= 30;\n  }\n\n  \/\/ Check 5: IP-reputatie\n  if (isDataCenterIP(event.deviceInfo.ip)) {\n    flags.push(&#039;datacenter_ip&#039;);\n    score -= 40;\n  }\n\n  \/\/ Check 6: dubbel device ID\n  if (isDuplicateDevice(event.deviceInfo.deviceId)) {\n    flags.push(&#039;duplicate_device&#039;);\n    score -= 30;\n  }\n\n  return {\n    valid: score &gt;= 50,\n    score: Math.max(0, score),\n    flags\n  };\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Fraudesignalen<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Signalen op apparaatniveau<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Signaal<\/th>\n<th>Wijst op<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Geroot of gejailbreakt apparaat<\/td>\n<td>Mogelijk emulator of gemanipuleerde omgeving<\/td>\n<\/tr>\n<tr>\n<td>Emulatordetectie<\/td>\n<td>Device farms<\/td>\n<\/tr>\n<tr>\n<td>Afwijkende schermresolutie<\/td>\n<td>Niet-standaard apparaat of emulator<\/td>\n<\/tr>\n<tr>\n<td>Ontbrekende sensoren (accelerometer, gyroscoop)<\/td>\n<td>Emulator<\/td>\n<\/tr>\n<tr>\n<td>Tijdzoneverschil (apparaat vs. IP)<\/td>\n<td>VPN of locatiespoofing<\/td>\n<\/tr>\n<tr>\n<td>Batterij altijd op 100%<\/td>\n<td>Emulator<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Gedragssignalen<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Signaal<\/th>\n<th>Wijst op<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Geen activiteit na de install<\/td>\n<td>Bot-install (nooit gebruikt)<\/td>\n<\/tr>\n<tr>\n<td>Identieke user agent bij veel installs<\/td>\n<td>Device farm<\/td>\n<\/tr>\n<tr>\n<td>Install om 3 uur 's nachts lokale tijd<\/td>\n<td>Geautomatiseerde install<\/td>\n<\/tr>\n<tr>\n<td>Direct verleende permissies<\/td>\n<td>Bot (echte gebruikers doen er langer over om te beslissen)<\/td>\n<\/tr>\n<tr>\n<td>Geen scroll- of gebaarevents<\/td>\n<td>SDK-spoofing (geen echte gebruiker)<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Netwerksignalen<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Signaal<\/th>\n<th>Wijst op<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Datacenter-IP<\/td>\n<td>Fraude vanaf servers<\/td>\n<\/tr>\n<tr>\n<td>VPN\/proxy-IP<\/td>\n<td>Locatie verbergen<\/td>\n<\/tr>\n<tr>\n<td>Hetzelfde IP voor veel installs<\/td>\n<td>Device farm<\/td>\n<\/tr>\n<tr>\n<td>IP-land komt niet overeen met de targeting<\/td>\n<td>Verkeerd land<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Emulatordetectie<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Device farms gebruiken emulators om op grote schaal nepinstalls te genereren. Veelgebruikte detectietechnieken:<\/p>\n\n\n\n<pre><code class=\"language-kotlin\">fun isEmulator(): Boolean {\n    return (Build.FINGERPRINT.startsWith(&quot;generic&quot;)\n        || Build.FINGERPRINT.startsWith(&quot;unknown&quot;)\n        || Build.MODEL.contains(&quot;google_sdk&quot;)\n        || Build.MODEL.contains(&quot;Emulator&quot;)\n        || Build.MODEL.contains(&quot;Android SDK built for x86&quot;)\n        || Build.BOARD == &quot;QC_Reference_Phone&quot;\n        || Build.MANUFACTURER.contains(&quot;Genymotion&quot;)\n        || Build.HOST.startsWith(&quot;Build&quot;)\n        || Build.BRAND.startsWith(&quot;generic&quot;) &amp;&amp; Build.DEVICE.startsWith(&quot;generic&quot;)\n        || &quot;google_sdk&quot; == Build.PRODUCT)\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Let op: sommige legitieme gebruikers draaien emulators (ontwikkelaars die hun eigen apps testen). Houd rekening met de context voordat je alle emulator-installs afwijst.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ongeldige installs afhandelen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Als de validatie faalt, heb je drie opties:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Direct afwijzen.<\/strong> Ken de install niet toe. Stuur een postback van afwijzing naar het advertentienetwerk.<\/li>\n<li><strong>Markeer voor beoordeling.<\/strong> Markeer de install als verdacht en ga door met attributie. Beoordeel gemarkeerde installs regelmatig.<\/li>\n<li><strong>Quarantaine.<\/strong> Zet de install in de wachtstand. Als de gebruiker binnen 24 tot 48 uur echt betrokken raakt, accepteer je de install. Zo niet, dan wijs je hem af.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">De quarantaineaanpak weegt fraudepreventie af tegen het risico op valse positieven:<\/p>\n\n\n\n<pre><code class=\"language-typescript\">async function handleSuspiciousInstall(event: InstallEvent, validation: ValidationResult) {\n  if (validation.score &lt; 20) {\n    \/\/ Zeer waarschijnlijk fraude, direct afwijzen\n    await rejectInstall(event, validation.flags);\n  } else if (validation.score &lt; 50) {\n    \/\/ Verdacht, in quarantaine\n    await quarantineInstall(event, validation.flags);\n\n    \/\/ Controleer de betrokkenheid na 48 uur\n    scheduleEngagementCheck(event.deviceInfo.deviceId, 48 * 3600);\n  } else {\n    \/\/ Waarschijnlijk legitiem, accepteren\n    await acceptInstall(event);\n  }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Tolinku voor install tracking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/tolinku.com\/nl\/functies\/analytics\/\">Tolinku&#039;s analytics<\/a> Meet deep link-clicks met validatie op de server. Zo heb je een betrouwbare bron voor de attributie van click-to-install. Stel analytics in in de <a href=\"https:\/\/tolinku.com\/docs\/nl\/concepts\/attribution\/\">Tolinku-dashboard<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Voor click injection, zie <a href=\"https:\/\/tolinku.com\/nl\/blog\/click-injection-detectie\/\">click injection-detectie<\/a>. Voor mobiele attributie, zie <a href=\"https:\/\/tolinku.com\/nl\/blog\/mobiele-attributie-ontwikkelaarsgids\/\">mobiele attributie: een gids voor developers<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Valideer app-installaties voor een nauwkeurige attributie. Gebruik receiptvalidatie, verificatie op de server en fraudesignalen om de datakwaliteit op peil te houden.<\/p>","protected":false},"author":2,"featured_media":3135,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"Install Validation: Ensuring Accurate Attribution","rank_math_description":"Validate app installs for accurate attribution. Use receipt validation, server-side verification, and fraud signals to maintain data quality.","rank_math_focus_keyword":"install validation","rank_math_canonical_url":"","rank_math_facebook_title":"","rank_math_facebook_description":"","rank_math_facebook_image":"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/og-install-validation-attribution.png","rank_math_facebook_image_id":"1736","rank_math_twitter_title":"","rank_math_twitter_description":"","rank_math_twitter_image":"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/og-install-validation-attribution.png","footnotes":""},"categories":[14],"tags":[37,526,28,20,126,525,69,93],"class_list":["post-1737","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-analytics","tag-app-stores","tag-attribution","tag-deep-linking","tag-fraud-detection","tag-install-validation","tag-mobile-development","tag-security"],"_links":{"self":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts\/1737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/comments?post=1737"}],"version-history":[{"count":3,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts\/1737\/revisions"}],"predecessor-version":[{"id":2692,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts\/1737\/revisions\/2692"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/media\/3135"}],"wp:attachment":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/media?parent=1737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/categories?post=1737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/tags?post=1737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}