Guide
Navigating Google Play Family Policies for Android TWAs
September 7, 2026 · 7 min read
The Intersection of Web Apps and Google Play Family Policies
Publishing an application in the Google Play Store that targets children or families requires adhering to some of the strictest standards in the mobile software industry. Google Play's Families Policy, designed to protect children from inappropriate content, predatory data harvesting, and non-compliant advertising, applies to every app distributed on the platform, regardless of the underlying technology stack.
For developers packaging a Progressive Web App (PWA) into a Trusted Web Activity (TWA), complying with these rules presents unique hurdles. Because a TWA is essentially a web application rendered within a specialized browser container, traditional mobile SDK-based compliance strategies do not apply directly. Instead, you must architect your web application's frontend, external script integrations, and data pipeline to comply with global privacy standards like COPPA and GDPR while running within the Google Play ecosystem.
Understanding Target Age Groups
Before modifying your code or configuring your Google Play Console, you must define your app's Target Audience and Content. Google classifies target age groups into specific categories, which dictate which rules your TWA must follow. If your app is designed for children under 13, or if your app is designed for a broader audience that includes children under 13, you must comply with the strict Families Policy.
If your TWA is categorised under the "Mixed Audience" designation (targeting both adults and children), you must ensure that the experience delivered to child users is distinct and fully compliant. This means you cannot simply serve the exact same web app to all users without implementing dynamic runtime controls to modify tracking, ads, and interactive elements based on user age.
Web-Based Analytics and Privacy Compliance
One of the most common reasons Google Play rejects or suspends TWA apps targeting families is the misuse of analytics and tracking tools. Most modern web applications automatically load third-party analytics libraries, such as Google Analytics, Mixpanel, or Facebook Pixel, to track user journeys and conversion rates. When running in a standard web browser, this is standard practice. However, when packaged as a TWA targeting children, this can constitute a serious policy violation.
Under Google Play's Families Policy, you are strictly prohibited from transmitting personally identifiable information (PII) or device identifiers (such as Android Advertising IDs or persistent cookies used for tracking) to non-compliant SDKs or web endpoints. To resolve this, your web application must detect when it is running inside the TWA environment and dynamically disable or reconfigure these tracking scripts.
- Detect the TWA Context: Use query parameters, custom user agents, or the document referrer to determine if the web app is running inside your packaged Android app rather than a standard mobile browser.
- Disable Non-Compliant Trackers: If a TWA context is detected and the user is under the age threshold, block the initialization of tracking pixels, behavioral analytics, and remarketing tags entirely.
- Mask IP Addresses: If using essential analytics, configure the scripts to mask or anonymise IP addresses and disable all demographic and interest-based tracking features at the API level.
Ad Networks and Monetisation Rules
Monetising a web app targeting children requires careful attention to ad networks. Standard web banner ads (such as those served via Google AdSense) are generally not permitted or compatible with Google Play's Families Policy. Google requires that any ads shown to children inside a Play Store app must be served exclusively by Google Play Certified Ad Networks and must use certified families-compliant ad formats.
If your TWA displays ads to children, you cannot use standard web monetization scripts that rely on behavioral profiling. Instead, you must use contextual-only advertising. If you are using Google AdManager or AdSense, you must implement the appropriate API parameters to tag your ad requests as child-directed. This disables interest-based advertising and remarketing features for those requests.
The following parameters should be passed to your web-based ad tags to enforce compliance at the network layer:
| Platform / API | Compliance Parameter | Expected Behavior |
|---|---|---|
| Google Publisher Tag (GPT) | setPrivacySettings({restrictDataProcessing: true}) | Restricts data processing to comply with CCPA and global privacy laws. |
| Google AdSense / AdManager | coppa=1 or tfcd=1 | Tags ad requests as child-directed (Treatment for Child-Directed Services). |
| Consent Management | nonPersonalizedAds = true | Instructs the ad server to only deliver contextual, non-targeted ads. |
Implementing a Dynamic Age Gate
If your TWA targets a mixed audience (such as an educational web portal used by both teachers and young students), you must build a neutral age gate into your web application. A neutral age gate is a screen that asks users to enter their birth date or age without prompting them with a specific desired answer (for example, do not pre-fill a year or display a message saying "You must be 13 to use this app").
Once the user enters their age, your web app's JavaScript must store this state securely (using sessionStorage or local cookies) and adjust the app's behavior. If the user is identified as a child, your app must immediately disable all non-compliant ad scripts, mute tracking networks, and restrict access to social sharing features or external web links. If the user is an adult, you can safely initialize your standard analytics and advertising suites.
Play Store Console Configuration
After aligning your web codebase with these policies, you must complete the target audience declaration within the Google Play Console. This step is critical, as incorrect declarations can lead to immediate app rejection. Navigate to the App Content section of your console and complete the target audience questionnaire honestly.
You will be required to upload a link to your app's Privacy Policy. Ensure your policy clearly explains how your application handles children's data, discloses any third-party service providers you use, and explicitly states your compliance with global standards such as COPPA. The privacy policy link must be accessible both inside your web app manifest and on a public web page.
Ready to ship your Android app?
Paste your PWA URL, get a signed APK and a Google Play ready AAB in minutes.
Build my app