Some mobile apps do use cookies, for example to keep you logged in to the app’s servers or inside an in-app browser. But most app tracking doesn’t rely on cookies at all. Apps identify devices with advertising IDs (Apple’s IDFA and the Android advertising ID), store information in on-device storage, and run third-party SDKs that collect data and send it to other companies.
For a business, the question that matters is consent. The laws that govern cookies cover most of this tracking too, and Apple and Google add platform rules of their own. This guide explains how each technology works, what needs consent, and how to manage it in an app.
How mobile apps track users without cookies
| Technology | What it does | Example | Needs consent or permission? |
|---|---|---|---|
| Advertising IDs | A device-level ID used to recognize the same device across apps for ads and measurement | IDFA on iPhone, the advertising ID on Android | On iPhone, the app needs permission through Apple’s App Tracking Transparency prompt. In California it’s personal information |
| SDKs | Third-party code inside the app that collects data and sends it to the SDK’s owner | Analytics, advertising, attribution and crash-reporting SDKs | Depends on what the SDK collects and why. Advertising and analytics SDKs usually do |
| On-device storage | Saves data on the phone, the way cookies do in a browser | Login state, settings, a stored user or device ID | Under EU and UK rules, storing or reading it needs consent unless an exemption applies, such as being strictly necessary |
| Cookies in webviews | Ordinary web cookies set when the app opens web content inside the app | An in-app checkout, help center or login page | The same rules as cookies on a website |
For more on how these storage methods compare, see local storage vs session storage vs cookies.
What cookies and similar storage do in apps
Whether it’s a cookie or on-device storage, the jobs are the same as on a website:
- Information retention: Saving small pieces of data on the device so the app remembers the user and keeps them signed in.
- User customization: Remembering preferences, such as language, theme or notification settings.
- Analytics and tracking: Measuring how people use the app, usually through an analytics SDK, to fix problems and improve features.
- Advertising: Recognizing the device across apps and websites to target and measure ads. In apps, this usually runs on the advertising ID and advertising SDKs rather than cookies.
Advertising IDs: IDFA and the Android advertising ID
An advertising ID is a resettable identifier the operating system gives each device so advertisers can recognize it across apps. It’s the closest thing an app has to a third-party cookie, and both Apple and Google now control access to it.
On iPhone, Apple’s identifier is the IDFA. Since iOS 14.5, apps need the user’s permission through the App Tracking Transparency (ATT) prompt to track them across other companies’ apps and websites or to read the IDFA. If the user doesn’t allow it, the IDFA the app sees is all zeros. Apple’s definition of tracking also covers sharing user or device data with data brokers, and analytics SDKs that reuse the data for targeted advertising in other apps.
On Android, the equivalent is the Android advertising ID (often called the AAID or GAID). Users can delete it in their settings, after which apps receive a string of zeros, and apps targeting Android 13 or higher have to declare the AD_ID permission to read it at all.
Under US law, an advertising ID counts as personal information. The CCPA’s definition of a unique identifier names “mobile ad identifiers” alongside cookies and device identifiers. So when an app shares it with advertising partners, California consumers have the right to opt out of that sale or sharing, as they do for cookies on a website. The California Privacy Protection Agency’s guide to mobile app tracking shows how much attention regulators are paying to it.
SDKs: the tracking you didn’t write yourself
Most of the tracking in a typical app comes from software development kits (SDKs): third-party code for analytics, ads, attribution, payments or crash reports. Each one can collect data and send it to the company that built it. As the California Privacy Protection Agency points out, code embedded in an app also gets the same permissions the user granted the app, so an SDK in an app with location access can read location too.
Apple now requires more transparency here. Since May 1, 2024, new or updated apps that add an SDK from Apple’s list of commonly used third-party SDKs have to include its privacy manifest and a valid signature. That tells you what the SDK says it collects. It doesn’t switch anything off when a user says no, which is the consent platform’s job.
Regulators have gone after SDK data flows directly. We’ve covered the enforcement trend against mobile apps and Washington’s first health data lawsuit, which centers on an SDK.
Mobile app consent vs. website consent: what’s the difference?
The principle is the same: tell people what you collect and why, and get consent where the law requires it before tracking starts. What’s different is where you ask, what you’re asking about, and which signals you have to respect.
Data an app stores on the device sits in the app’s own sandbox, so other apps can’t read it. That’s not the same as being private. The advertising ID and the SDKs inside the app are built to share data beyond it, which is why app consent has to cover them and not just storage.
| Mobile apps | Websites | |
|---|---|---|
| Where you ask | In the app, usually during onboarding, and before any non-essential SDK starts collecting | A banner or preference layer when the visitor arrives |
| What you’re asking about | Advertising IDs, SDKs, on-device storage, permissions such as location | Cookies, pixels, tags and similar technologies |
| Platform rules | Apple’s ATT prompt for tracking, Google Play’s advertising ID policy | Browser restrictions such as Safari’s Intelligent Tracking Prevention |
| Signals to respect | The user’s ATT choice and advertising ID settings | Browser signals such as Global Privacy Control |
| Accepting the terms of service | Isn’t consent to tracking. Ask separately | Isn’t consent to cookies. Ask separately |
If customers use both your website and your app, their choice should carry across. Syrenis’s follow-me consent links consent to a profile so it applies across devices, and cross-domain consent does the same across your websites.
What the law requires for app tracking
The rules depend on where your users are, and the US and Europe work differently.
In the US, most state privacy laws, including the California Consumer Privacy Act, work on an opt-out model. You don’t need consent before collecting most data, but you do have to tell users what you collect, let them opt out of the sale or sharing of their personal information, and get opt-in consent for some categories, such as sensitive data in several states and personal information of consumers under 16 in California. Because advertising IDs and SDK data are personal information, an app that shares them with ad partners needs a working opt-out in the app, not just on the website.
In the EU and UK, the GDPR requires a lawful basis for processing personal data, and consent is one of several. Storing or reading information on the device is covered separately by the ePrivacy rules (PECR in the UK), and that needs consent unless an exemption applies, such as being strictly necessary for the service the user asked for.
In both cases, the app has to explain how and whether it shares personal data with third parties.
The personal data that can be collected includes, but is not limited to, location data, contacts, device information or browser history, along with advertising IDs.
Does the GDPR apply to mobile apps?
The GDPR does apply to mobile apps that collect, process, or store personal data from individuals within the European Union (EU). Additionally, the GDPR has an extra-territorial scope, meaning it applies not only to EU-based companies but also to organizations outside the EU that provide goods or services to people in the EU or monitor their behavior.
In practical terms:
- If your mobile app handles personal data from people in the EU, regardless of where your app or business is located, you must comply with GDPR requirements.
- Personal information includes details that directly or indirectly identify an individual, such as names, email addresses, location data, IP addresses, or device identifiers.
How to manage consent in a mobile app
- Inventory every SDK and identifier. List what’s in each build, what it collects and where it sends data. A scan of your sites and apps will find trackers your developers didn’t mention.
- Map each one to a purpose. Strictly necessary, analytics, advertising, personalization. That decides whether it needs consent and where.
- Hold non-essential SDKs until the user has chosen. Initialize advertising and analytics SDKs after consent where it’s required, not at app launch.
- Time the ATT prompt. Explain why you’re asking in your own screen first, then show Apple’s prompt. Apple shows its prompt only once per install, so the timing matters.
- Pass the choice to every SDK. Google, for example, provides consent mode for apps so its SDKs receive the user’s choice.
- Keep app and web choices in step. If someone opts out on your website and then logs in to your app, the app should already know.
- Keep a record. Log each choice, the version of the notice the user saw, and every change, so you can prove what they agreed to.
Cookie and tracking policies for mobile apps
If apps are using cookies or similar technologies, then they must meet the legal requirements for them in the user’s region.
For instance, to comply with the Privacy and Electronic Communications Regulations (PECR) in the UK, you must inform users about cookies and similar technologies, which includes data an app stores on or reads from the device, and, in most cases, obtain consent to use or decline them. Unless exceptions apply, PECR requires that mobile apps obtain informed consent before storing information on users’ devices.
It is crucial to provide a cookie or tracking policy that is accessible to users inside the app, before any non-essential tracking starts. It should list the SDKs and identifiers the app uses, what each is for, and how to change a choice later.
Drafting cookie policies for apps can be challenging, especially when cookies and SDKs can collect users’ personal data. In such cases, additional rules may apply, such as the UK Data Protection Act or the CCPA. You need a technical analysis of which SDKs, identifiers and cookies the app actually uses so you can provide transparent information about them. If you need support with a cookie policy, consider seeking advice from a data protection lawyer to guide you and prepare the policy on your behalf.
How Syrenis manages consent in apps
Syrenis captures consent across web, mobile and server-side channels from one platform, so the choice a customer makes in your app is the same record your website, CRM and ad platforms act on. Its site and app scanning finds the cookies, SDKs and trackers in your apps, and cookie management applies the right rules by region.
Book a demo to see how it works for your apps.