a5c-ai/babysitter / library/specializations/desktop-development/skills/amplitude-desktop-integration
amplitude-desktop-integration
VerifiedIntegrate Amplitude analytics with privacy controls for desktop applications
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
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"apiKey": { "type": "string" },
"privacyMode": { "enum": ["full", "minimal", "opt-in"] }
},
"required": ["projectPath"]
}
Integration
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-setupgdpr-consent-manager
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |