Amplitude desktop integration
Skill a5c-ai/babysitter/library/specializations/desktop-development/skills/amplitude-desktop-integration
Integrate Amplitude analytics with privacy controls for desktop applicationsFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill amplitude-desktop-integrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.7 KB, 293 tokens by cl100k_base, as published. Nobody here has run it
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
What ships with it: 1 file
412 B alongside SKILL.md
- README.md412 B