amplitude-desktop-integration

Solid

Integrate Amplitude analytics with privacy controls for desktop applications

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
59
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills