The only Capacitor plugin for integrating the AppInsights SDK:
- Market intelligence - Access app store analytics and competitive data
- User insights - Track and analyze user behavior across platforms
- SDK wrapper - Clean JavaScript API for the native AppInsights SDKs
- Cross-platform - Works on iOS and Android
Essential for apps needing market intelligence, competitive analysis, and advanced analytics beyond standard tools.
The most complete doc is available here: https://capgo.app/docs/plugins/appinsights/
npm install @capgo/capacitor-appinsights
npx cap syncinit(options: { partnerId: string; partnerKey: string; }) => Promise<void>Initialize the AppInsights SDK
| Param | Type | Description |
|---|---|---|
options |
{ partnerId: string; partnerKey: string; } |
Configuration options for SDK initialization |
setUserId(options: { userId: string; }) => Promise<void>Set or update the user ID after initialization
| Param | Type | Description |
|---|---|---|
options |
{ userId: string; } |
User ID to set |
getState() => Promise<PanelSDKState>Get the current state of the SDK
Returns: Promise<PanelSDKState>
getPluginVersion() => Promise<{ version: string; }>Get the native Capacitor plugin version
Returns: Promise<{ version: string; }>
| Prop | Type |
|---|---|
initCompleted |
boolean |
jobScheduled |
boolean |
permissionAcquired |
boolean |
