Why 21YunBox Pricing Contact Log in
Talk to an expert Test your site in China

Does AppsFlyer Work in China? Data Residency, ICP & Cross-Border Rules

AppsFlyer is a mobile attribution SDK embedded in your app that, by default, reads China users' device identifiers and sends their install, event and attribution data to AppsFlyer's offshore servers. A compliance-first look at the PIPL separate-consent, SDK-declaration and cross-border doors a 'does the pixel fire?' test never sees.

Does AppsFlyer work in China?

Whether AppsFlyer “works” in China is a consent-and-cross-border question, not a does-it-load one. AppsFlyer is a mobile attribution SDK embedded in your app; by its own documentation it reads China users' device identifiers by default and sends their install, event and attribution data to its offshore servers.

China does not just regulate where that data rests — it governs the tracker that collects it. MIIT and CAC rules on apps and third-party SDKs that illegally collect and use personal information require declaring what is collected and obtaining consent before collection, and PIPL Articles 13 and 23 require specific, separate consent, not a bundled take-it-or-leave-it. A default-on SDK that silently reads device IDs is exactly that conduct, and device identifiers and behavioral profiles can be sensitive personal information (Articles 28–29). Sending them offshore is a cross-border transfer under Articles 38–40 on top.

AppsFlyer does publish a China-market PIPL configuration and routes China events through a relay in China — but that is data-minimization and an ingestion edge, not a verified mainland residency guarantee. Our China team can map your AppsFlyer exposure with you →

What AppsFlyer's own documentation says about China

FactPrimary source
In AppsFlyer's own words, its China PIPL solution is “based on 3 principles: Prevent the SDK from collecting device IDs. Mask and hash IPs of SDK events, S2S events, and clicks and impressions. Enable auditing all app events on a relay server in China.” Collection is on by default — the page notes that “to disable identifiers specifically for the Chinese market, you must implement custom logic,” so an app that embeds AppsFlyer and takes no action reads China users' device IDs and ships their events by default. AppsFlyer Knowledge Base — Apply China Personal Information Protection Law (PIPL) solution, retrieved 2026-10-12
AppsFlyer's Services Privacy Policy lists the end-user data its SDK collects — advertising and device identifiers (“IDFA (identifier for advertisers), Android ID (in Android devices); Google Advertiser ID”), IP address, device attributes and install/engagement events — and states that “AppsFlyer may need to transfer Customer Data to countries other than the country from which the Data originated,” with transfers to the United States governed by Standard Contractual Clauses. It names no mainland-China storage region; AppsFlyer positions itself as a processor acting on its customer's instructions, so the PIPL duties fall on you, the app publisher. AppsFlyer Services Privacy Policy, retrieved 2026-10-12
China governs the tracker itself: the MIIT and CAC rules on apps and third-party SDKs that illegally collect and use personal information require declaring what is collected and obtaining consent before collection. PIPL Articles 13 and 23 require notice and specific, separate consent for this kind of tracking — not a bundled (一揽子) consent — and device identifiers and behavioral profiles can be sensitive personal information under Articles 28–29, adding a necessity and separate-consent test. Personal Information Protection Law of the PRC — 21YunBox gov-doc translation
Sending China users' device identifiers and attribution events to offshore servers is a cross-border transfer of personal information under PIPL Articles 38–40, which requires a lawful transfer mechanism — a CAC security assessment, the CAC standard contract, or certification. For a critical information infrastructure operator or a high-volume handler, Cybersecurity Law Article 39 (formerly Article 37) requires personal information generated in China to be stored in the mainland. Cross-border data transfer rules and the PRC Cybersecurity Law — 21YunBox gov-doc translations

Sources verified by the 21YunBox compliance team on 2026-10-12.

For a mobile app reaching users in mainland China, the question is rarely whether AppsFlyer’s SDK can phone home. AppsFlyer has gone out of its way to make sure it can — it publishes China-market attribution links, routes events through a relay server inside China, and falls back to OAID and IMEI for attribution on the Android devices that have no Google Advertising ID. The SDK fires. That is precisely why “does AppsFlyer work in China?” is the wrong place to stop. AppsFlyer is a mobile measurement and attribution SDK you embed inside your app, and by its own description it reads your users’ device identifiers and ships their install, event and attribution data back to AppsFlyer. In China, what decides whether you can run it is not latency — it is whether you declared and obtained consent for that collection before it happened, whether the device and behavioral data it exports may lawfully leave the country, and on whose filing the China-facing app sits. Those are compliance questions, and a reachability check answers none of them.

AppsFlyer's China PIPL solution support page, stating its solution is based on three principles — prevent the SDK from collecting device IDs, mask and hash IPs, and audit all app events on a relay server in China — and noting that to disable identifiers for the Chinese market specifically, developers must implement custom logic.
AppsFlyer's own China PIPL solution page shows that collection is on by default — switching device-identifier collection off for China alone takes developer effort, not a toggle: “To disable identifiers specifically for the Chinese market, you must implement custom logic.” The page describes its approach as preventing the SDK from collecting device IDs, masking and hashing IPs, and auditing “all app events on a relay server in China” — a collection-and-ingestion design, not a stated mainland data-residency guarantee. Source: AppsFlyer Knowledge Base — Apply China PIPL solution

AppsFlyer in China at a glance

What decides it In AppsFlyer's own terms — and China's law
What the SDK collects Per AppsFlyer's own documentation: device and advertising identifiers (IDFA / IDFV, Google Advertiser ID, Android ID — and in China, where Google Play is absent, OAID and, on older Android, IMEI), IP address, device attributes, and install plus in-app event data, each tagged with an install ID. By AppsFlyer's PIPL page, this collection is on by default — turning it off for China alone takes “custom logic.”
Where the events come to rest AppsFlyer is offshore cloud SaaS. Its Services Privacy Policy states it “may need to transfer Customer Data to countries other than the country from which the Data originated,” with transfers to the United States governed by Standard Contractual Clauses, and it names no mainland-China storage region. AppsFlyer does operate a China relay/ingestion edge for its PIPL configuration, but that is data-minimization and routing — not a stated residency guarantee for stored attribution data.
Declare-then-consent — the distinctive second half This is the half a speed test never sees. China specifically governs the tracker: MIIT / CAC rules on apps and third-party SDKs that illegally collect and use personal information require declaring what is collected and obtaining consent before collection, and PIPL Articles 13 and 23 require specific, separate consent — not a bundled (一揽子) take-it-or-leave-it. A default-on SDK that silently reads device IDs is exactly the conduct those rules target.
Sensitive personal information Persistent device identifiers and the behavioral / attribution profiles the SDK builds can rise to sensitive personal information under PIPL Articles 28–29, which add a specific-purpose, necessity and separate-consent test above ordinary personal data.
Crossing the border Shipping those device identifiers and events to AppsFlyer's offshore servers is a cross-border transfer under PIPL Articles 38–40, which requires a lawful mechanism — a CAC security assessment, the CAC standard contract, or certification. For a critical information infrastructure operator or high-volume handler, Cybersecurity Law Article 39 (formerly Article 37) requires China-generated personal information to be stored in the mainland.
Reachability is not the axis Because AppsFlyer built China domains and a relay, the SDK does fire in China — which is exactly why “does the pixel load?” is blind here. What decides it is whether collection was declared and consented, whether the exported data may leave the country, and whether the China-facing app is filed. 21YunBox keeps the regulated data in-country, on a consented path, and ICP-files and delivers the China-facing surface compliantly — the 21YunBox Optimizer — in front of the AppsFlyer setup you already run.

What the SDK collects — and why “on by default” is the whole problem

Start with what actually leaves the device. AppsFlyer’s Services Privacy Policy describes the SDK reading device and advertising identifiers — “IDFA (identifier for advertisers), Android ID (in Android devices); Google Advertiser ID” — alongside IP address, device and OS attributes, and the stream of installs, launches and in-app events a marketer chooses to measure. In the Chinese domestic market the identifier mix shifts rather than shrinks: because Google Play Services is absent on most devices, AppsFlyer’s own guidance attributes installs using OAID and, on Android 28 and earlier, the device IMEI. Either way, the raw material of attribution is a persistent handle on a real person’s phone plus a behavioral trail of what they did after install.

The compliance problem is not that this is possible — it is that it is the default. AppsFlyer’s China PIPL page spells out that stopping the SDK from collecting device IDs requires developers to set specific flags, and that to scope that suppression to China alone “you must implement custom logic.” Read plainly: an app that embeds AppsFlyer and takes no deliberate action reads China users’ device identifiers and sends their events off the handset by default. China’s rules are built around the opposite premise — that nothing should be collected until it has been declared and consented.

China governs the tracker itself, not just the destination

Here is the part a reachability check cannot reach, and the part that makes an attribution SDK different from an ordinary offshore app. China does not only ask where personal data ends up; it regulates the act of a tracker collecting it. The MIIT and CAC rules aimed at apps and third-party SDKs that “illegally collect and use personal information” require a tracker to declare what it collects and to secure the user’s consent before collection begins. PIPL Articles 13 and 23 reinforce this: processing personal information needs a lawful basis and clear notice, and sharing it with a third party — which is what an attribution SDK does by sending events to AppsFlyer — needs specific, separate consent. A single bundled “agree to everything or leave” prompt (一揽子同意) does not satisfy it.

Layer on sensitivity. Persistent device identifiers and the attribution and behavioral profiles the SDK assembles can constitute sensitive personal information under PIPL Articles 28–29, which demand a specific purpose, demonstrated necessity, and their own separate consent. A default-on SDK that quietly reads a device ID and a behavioral trail is, almost by definition, the conduct these rules were written to stop. No amount of fast ingestion changes that — the violation, if there is one, happened at the moment of silent collection, before any server round-trip.

Cross-border by design — and what AppsFlyer’s China relay does and does not promise

The second regulated event is the border crossing. The device identifiers and events the SDK collects in China do not simply sit on the phone; they move to AppsFlyer, and AppsFlyer’s Services Privacy Policy is candid that it “may need to transfer Customer Data to countries other than the country from which the Data originated,” with United States transfers governed by Standard Contractual Clauses. That is a cross-border transfer of personal information under PIPL Articles 38–40, and it requires one of the law’s transfer mechanisms — a CAC security assessment, the CAC standard contract, or certification. For a critical information infrastructure operator or a high-volume handler, Cybersecurity Law Article 39 (formerly Article 37 — the 2025 Cybersecurity Law amendment, in force January 1, 2026, renumbered the data-localization article from 37 to 39, its substance unchanged) requires personal information generated in China to be stored in the mainland.

This is where AppsFlyer’s China posture needs stating precisely, because it is genuinely different from a pure offshore tracker — and genuinely short of full residency. AppsFlyer publishes a China-market PIPL configuration whose stated principles are to prevent the SDK from collecting device IDs, to mask and hash IPs of SDK, server-to-server, click and impression events, and to audit “all app events on a relay server in China.” That is a meaningful collection-and-ingestion edge inside the country. But it is a configuration you apply to reduce and route data, not a declaration that your China users’ attribution data is stored and kept in mainland China. AppsFlyer’s own privacy policy names cross-border transfer and no mainland storage region. So a China-resident path may exist — and it is worth exploring — but its exact scope, and whether it satisfies your Article 38–40 and Article 39 duties, is something to confirm with counsel and with AppsFlyer before your China program relies on it.

Why “does the pixel fire?” misses all of this

AppsFlyer is not a tracker that fails to load in China — the opposite. It ships China domains, a China relay, and OAID/IMEI attribution precisely so that it does fire. That is exactly why a reachability test is the wrong instrument. “Did an event reach the server?” tells you nothing about whether the collection was declared and separately consented, whether persistent device identifiers and a behavioral profile were read as sensitive personal information without the Article 28–29 basis, whether the data lawfully crossed the border under Articles 38–40, or whether the China-facing app that carries the SDK is filed. The exposure is quiet and durable: it lives in the consent the SDK never asked for and the data it exports by default, not in a latency number.

This is a risk map, not a verdict that AppsFlyer is “blocked” or “illegal” in China. Which duties bite your case turns on your entity, which AppsFlyer SDKs and flows your app actually ships, what each collects, your role under Chinese law, and your data volumes — worth settling the specifics with counsel before your China measurement depends on it.

The lawful path — map, localize, deliver

There is a compliant way to run mobile attribution for a China audience, and it sits in front of the AppsFlyer setup your team already uses — no rebuild, no second measurement stack, no migration off AppsFlyer.

First, map: our China team inventories exactly what your AppsFlyer integration collects — which identifiers the SDK reads (IDFA/IDFV, Google Advertiser ID, Android ID, OAID, IMEI), which install and in-app events it sends, where those events are hosted and transferred, and the consent basis each flow relies on — along with the filing status of the China-facing app or surface that embeds it. We build the technical picture; the legal conclusions are settled with counsel.

Then localize / govern: we help you put the declare-then-consent basis China’s law requires in front of collection — the Article 13/23 notice and the specific, separate consent these trackers need, with the Article 28–29 treatment where device identifiers and behavioral profiles are sensitive — and keep the regulated China data on a lawful in-country path rather than letting the SDK exfiltrate device data by default. Localize means keeping the data in-country; it never means a route that quietly ships personal information across the border.

Then deliver: any China-facing app or public surface you publish to mainland users is an internet information service, so it carries an ICP filing (备案) duty bound to a mainland hosting resource and needs compliant, in-country delivery. 21YunBox stands that up — the 21YunBox Optimizer — in front of what you already run. 21YunBox never uses or suggests circumvention of any kind — we keep in-country what the law says must stay, deliver the rest compliantly from inside the mainland, and never move personal information across the border by stealth. Making an offshore tracker merely reachable is not the answer — AppsFlyer is already reachable in China; keeping the regulated data in-country on a declared, consented, and (where needed) filed path is. 21YunBox is a compliance overlay and partner to AppsFlyer, not a competitor to it.

Get a compliance assessment →


Related reading:

Frequently Asked Questions

Is AppsFlyer blocked in China?
No. AppsFlyer publishes China-market attribution domains and a relay server in China, and it attributes Android installs via OAID or IMEI where Google's Advertising ID is absent, so the SDK is reachable and measurement runs. Reachability is not the compliance question — the exposure is that the SDK reads China users' device identifiers and sends install and event data to AppsFlyer's offshore servers by default, unless you configure and consent otherwise.
Does AppsFlyer store my China users' data in mainland China?
Not as a stated guarantee. AppsFlyer's own privacy policy describes cross-border transfer (with United States transfers under Standard Contractual Clauses) and names no mainland-China storage region. Its China PIPL solution is a data-minimization configuration plus an ingestion/audit relay in China — meaningful, but not a verified end-to-end residency commitment for stored attribution data. A China-resident path may exist; confirm its scope with counsel and AppsFlyer before relying on it.
What does China require before an attribution SDK collects data?
Declare what is collected and obtain specific, separate consent before collection begins. China's app-and-SDK governance rules (MIIT/CAC) and PIPL Articles 13 and 23 do not accept a bundled take-it-or-leave-it consent, and device identifiers and behavioral profiles can be sensitive personal information under Articles 28–29. A default-on SDK that silently reads device IDs is the conduct those rules target — which is why turning AppsFlyer merely reachable does not make it compliant.

ARTICLES RELATED TO APPSFLYER

Make Your Site Work inside the Great Firewall of China

Enter your information, and our staff will assist you in getting a 21YunBox account for China.

Make Your Site Work Within the Great Firewall of China
Make Your Site Work Within the Great Firewall of China

By clicking 'Get Started', I also agree to 21YunBox's Terms of Service and Privacy Policy.