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-setup
gdpr-consent-manager
1---
2name: amplitude-desktop-integration
3description: Integrate Amplitude analytics with privacy controls for desktop applications
4allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5tags: [analytics, amplitude, tracking, privacy, desktop]
6graph:
7 domains: [domain:software-engineering]
8 specializations: [specialization:desktop-development]
9 skillAreas: [skill-area:analytics-tracking, skill-area:cross-platform-desktop]
10 roles: [role:desktop-developer, role:fullstack-engineer]
11 workflows: [workflow:feature-development, workflow:release-management]
12metadata:
13 source: https://skillmd.com/skills/a5c-ai/amplitude-desktop-integration
14---
15
16# amplitude-desktop-integration
17
18Integrate Amplitude analytics into desktop applications with privacy controls and event tracking.
19
20## Capabilities
21
22- Configure Amplitude SDK
23- Implement event tracking
24- Set up user identification
25- Configure privacy controls
26- Implement offline caching
27- Set up A/B testing
28
29## Input Schema
30
31```json
32{
33 "type": "object",
34 "properties": {
35 "projectPath": { "type": "string" },
36 "apiKey": { "type": "string" },
37 "privacyMode": { "enum": ["full", "minimal", "opt-in"] }
38 },
39 "required": ["projectPath"]
40}
41```
42
43## Integration
44
45```javascript
46import * as amplitude from '@amplitude/analytics-browser';
47
48amplitude.init('YOUR_API_KEY', undefined, {
49 defaultTracking: {
50 sessions: true,
51 pageViews: false, // Desktop apps don't have pages
52 formInteractions: false,
53 fileDownloads: false
54 },
55 optOut: !userConsentedToAnalytics()
56});
57
58// Track events
59amplitude.track('Feature Used', {
60 featureName: 'Export',
61 fileFormat: 'PDF'
62});
63```
64
65## Privacy Controls
66
67- Opt-in/opt-out management
68- Data minimization
69- User ID anonymization
70- GDPR compliance helpers
71
72## Related Skills
73
74- `sentry-desktop-setup`
75- `gdpr-consent-manager`