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]
6metadata:
7 source: https://skillmd.com/skills/aibot88/amplitude-desktop-integration
8---
9
10# amplitude-desktop-integration
11
12Integrate Amplitude analytics into desktop applications with privacy controls and event tracking.
13
14## Capabilities
15
16- Configure Amplitude SDK
17- Implement event tracking
18- Set up user identification
19- Configure privacy controls
20- Implement offline caching
21- Set up A/B testing
22
23## Input Schema
24
25```json
26{
27 "type": "object",
28 "properties": {
29 "projectPath": { "type": "string" },
30 "apiKey": { "type": "string" },
31 "privacyMode": { "enum": ["full", "minimal", "opt-in"] }
32 },
33 "required": ["projectPath"]
34}
35```
36
37## Integration
38
39```javascript
40import * as amplitude from '@amplitude/analytics-browser';
41
42amplitude.init('YOUR_API_KEY', undefined, {
43 defaultTracking: {
44 sessions: true,
45 pageViews: false, // Desktop apps don't have pages
46 formInteractions: false,
47 fileDownloads: false
48 },
49 optOut: !userConsentedToAnalytics()
50});
51
52// Track events
53amplitude.track('Feature Used', {
54 featureName: 'Export',
55 fileFormat: 'PDF'
56});
57```
58
59## Privacy Controls
60
61- Opt-in/opt-out management
62- Data minimization
63- User ID anonymization
64- GDPR compliance helpers
65
66## Related Skills
67
68- `sentry-desktop-setup`
69- `gdpr-consent-manager`