# Cookie Policy

**Last Updated: [Date]**

## Introduction

This Cookie Policy explains how [App Name] ("we," "us," or "our") uses cookies and similar tracking technologies when you use our application. This policy should be read together with our Privacy Policy.

## What Are Cookies?

Cookies are small text files that are placed on your device when you visit a website or use an application. They are widely used to make apps work more efficiently and provide information to the owners of the app.

## Types of Cookies We Use

### Essential Cookies

These cookies are necessary for the app to function properly and cannot be disabled.

| Cookie Name | Purpose | Duration |
|-------------|---------|----------|
| session_id | Maintains your login session | Session |
| auth_token | Authenticates your identity | 30 days |
| security_token | Prevents CSRF attacks | Session |

### Performance Cookies

These cookies help us understand how users interact with our app by collecting and reporting information anonymously.

| Cookie Name | Purpose | Duration |
|-------------|---------|----------|
| _ga | Google Analytics - tracks users | 2 years |
| _gid | Google Analytics - distinguishes users | 24 hours |
| analytics_session | Tracks app usage patterns | Session |

### Functionality Cookies

These cookies enable enhanced functionality and personalization.

| Cookie Name | Purpose | Duration |
|-------------|---------|----------|
| user_preferences | Stores your settings and preferences | 1 year |
| language | Remembers your language preference | 1 year |
| theme | Stores your theme selection | 1 year |

### Targeting/Advertising Cookies

These cookies may be set through our app by our advertising partners to build a profile of your interests.

| Cookie Name | Purpose | Duration |
|-------------|---------|----------|
| ad_id | Tracks advertising engagement | 90 days |
| conversion_tracking | Measures ad campaign effectiveness | 30 days |

## Other Tracking Technologies

### Local Storage

We use local storage to store data locally on your device for faster access and offline functionality.

### Device Identifiers

We may collect unique device identifiers for analytics, security, and personalization purposes.

### SDKs

We use third-party Software Development Kits (SDKs) that may collect information about your device and usage:
- Analytics SDKs (e.g., Google Analytics, Firebase)
- Crash reporting SDKs
- Advertising SDKs

### Pixels and Beacons

We may use web beacons (also called "pixels") to track user actions and gather statistics about app usage.

## Third-Party Cookies

We work with third-party service providers who may set cookies on your device:

### Analytics Services
- **Google Analytics**: Helps us understand app usage
- **Firebase Analytics**: Tracks user engagement and behavior
- **Mixpanel**: Provides product analytics

### Advertising Networks
- **Google AdMob**: Serves personalized ads
- **Facebook Audience Network**: Delivers targeted advertising

### Customer Support
- **Intercom/Zendesk**: Provides customer support chat functionality

### Payment Processors
- **Stripe/PayPal**: Processes payments securely

## How to Control Cookies

### Browser Settings

Most browsers allow you to:
- View what cookies are stored
- Delete cookies
- Block all cookies
- Block third-party cookies
- Clear cookies when you close the browser

**Note**: Blocking cookies may affect your experience and prevent certain features from working.

### Mobile App Settings

On mobile devices, you can control tracking through:

**iOS**:
- Settings > Privacy > Tracking
- Settings > Privacy > Advertising > Limit Ad Tracking

**Android**:
- Settings > Google > Ads > Opt out of Ads Personalization
- Settings > Privacy > Ads

### Opt-Out Links

You can opt out of certain third-party cookies:

- **Google Analytics**: [https://tools.google.com/dlpage/gaoptout](https://tools.google.com/dlpage/gaoptout)
- **Google Ads**: [https://www.google.com/settings/ads](https://www.google.com/settings/ads)
- **Network Advertising Initiative**: [https://optout.networkadvertising.org](https://optout.networkadvertising.org)
- **Digital Advertising Alliance**: [https://optout.aboutads.info](https://optout.aboutads.info)

### Do Not Track

Some browsers have a "Do Not Track" feature. Currently, there is no industry standard for how to respond to Do Not Track signals, but we respect user privacy preferences.

## Why We Use Cookies

We use cookies and similar technologies for several reasons:

### Security
- Authenticate users
- Prevent fraud and abuse
- Protect user data

### Functionality
- Remember your preferences
- Enable core features
- Provide consistent experience across devices

### Performance
- Analyze how the app is used
- Identify and fix bugs
- Improve load times and reliability

### Personalization
- Customize content and recommendations
- Remember your settings
- Provide relevant features

### Analytics
- Understand user behavior
- Measure feature adoption
- Optimize user experience

### Advertising
- Show relevant ads
- Measure ad effectiveness
- Limit ad frequency

## Cookie Consent

### Initial Consent

When you first use our app, we may ask for your consent to use certain types of cookies. You can choose to:
- Accept all cookies
- Accept only essential cookies
- Customize your preferences

### Withdrawal of Consent

You can withdraw your consent at any time by:
- Changing your cookie preferences in the app settings
- Clearing cookies through your browser or device settings
- Contacting us to opt out

## International Users

### GDPR (European Users)

Under GDPR, you have the right to:
- Be informed about cookies
- Provide or withdraw consent
- Access cookie data
- Request deletion of cookie data

### ePrivacy Directive

We comply with the EU ePrivacy Directive regarding cookies and consent.

### CCPA (California Users)

California residents have the right to opt out of the sale of personal information, which may include data collected through cookies.

## Updates to This Policy

We may update this Cookie Policy from time to time to reflect changes in:
- The cookies we use
- Legal requirements
- Our business practices

We will notify you of material changes by:
- Updating the "Last Updated" date
- Posting a notice in the app
- Sending an email notification

## Contact Us

If you have questions about our use of cookies, please contact us:

- **Email**: [privacy@yourapp.com]
- **Address**: [Your Company Address]
- **Data Protection Officer**: [dpo@yourapp.com]

## Additional Resources

For more information about cookies, visit:
- [https://www.allaboutcookies.org](https://www.allaboutcookies.org)
- [https://www.youronlinechoices.com](https://www.youronlinechoices.com)

---

**By continuing to use our app, you consent to the use of cookies as described in this Cookie Policy.**
