# Amplitude Desktop Integration

> Amplitude Desktop Integration is an Agent Skill for apps & automation published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Integrate Amplitude analytics with privacy controls for desktop applications

- Skill name: `amplitude-desktop-integration`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/desktop-development/skills/amplitude-desktop-integration/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# amplitude-desktop-integration

Integrate Amplitude analytics into desktop applications with privacy controls and event tracking.

## Capabilities

- Configure Amplitude SDK
- Implement event tracking
- Set up user identification
- Configure privacy controls
- Implement offline caching
- Set up A/B testing

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "apiKey": { "type": "string" },
    "privacyMode": { "enum": ["full", "minimal", "opt-in"] }
  },
  "required": ["projectPath"]
}
```

## Integration

```javascript
import * as amplitude from '@amplitude/analytics-browser';

amplitude.init('YOUR_API_KEY', undefined, {
  defaultTracking: {
    sessions: true,
    pageViews: false, // Desktop apps don't have pages
    formInteractions: false,
    fileDownloads: false
  },
  optOut: !userConsentedToAnalytics()
});

// Track events
amplitude.track('Feature Used', {
  featureName: 'Export',
  fileFormat: 'PDF'
});
```

## Privacy Controls

- Opt-in/opt-out management
- Data minimization
- User ID anonymization
- GDPR compliance helpers

## Related Skills

- `sentry-desktop-setup`
- `gdpr-consent-manager`

---

Source: https://www.openparable.com/skill/apps-automation/amplitude-desktop-integration (OpenParable). Cite the canonical URL above.
