Claude
Skills
Sign in
Back

amplitude-desktop-integration

Included with Lifetime
$97 forever

Integrate Amplitude analytics with privacy controls for desktop applications

Data & Analyticsanalyticsamplitudetrackingprivacydesktop

What this skill does


# 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`

Related in Data & Analytics