
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@capacitor-community/appcenter-analytics
Advanced tools

@capacitor-community/appcenter-analytics
App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count and device properties like model, OS version, etc. You can define your own custom events to measure things that matter to you. All the information captured is available in the App Center portal for you to analyze the data.
| Maintainer | GitHub | Social |
|---|---|---|
| John Borges | johnborges | @johnborges |
npm install @capacitor-community/appcenter-analytics
npx cap sync
Once you add App Center Analytics to your app and the SDK is started, it will automatically track sessions and device properties like OS Version, model, etc. You don’t need to write any additional code.
setEnabled(...)isEnabled()pause()resume()trackEvent(...)enableManualSessionTracker()startSession()setEnabled(options: { enable: boolean; }) => Promise<void>
You can enable and disable App Center Analytics at runtime. If you disable it, the SDK won't collect any more analytics information for the app.
| Param | Type |
|---|---|
options | { enable: boolean; } |
Since: 0.3.0
isEnabled() => Promise<{ value: boolean; }>
Check if Analytics is enabled or not.
Returns: Promise<{ value: boolean; }>
Since: 0.0.1
pause() => Promise<void>
Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk.
Since: 0.1.0
resume() => Promise<void>
Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the server.
Since: 0.1.0
trackEvent(options: AnalyticsEvent) => Promise<void>
Track an event with optional custom properties to know what's happening in your app, understand user actions, and see the aggregates in the App Center portal.
| Param | Type |
|---|---|
options | AnalyticsEvent |
Since: 0.1.0
enableManualSessionTracker() => Promise<void>
Enable manual session tracker. Call this method before Analytics starts.
Since: 2.0.0
startSession() => Promise<void>
Start a new session if manual session tracker is enabled, otherwise do nothing.
Since: 2.0.0
| Prop | Type | Description |
|---|---|---|
name | string | 256 character limit |
properties | { [key: string]: string; } | Only 20 properties allowed per event |
flag | 'normal' | 'critical' |
FAQs
Capacitor plugin for AppCenter Analytics
The npm package @capacitor-community/appcenter-analytics receives a total of 42 weekly downloads. As such, @capacitor-community/appcenter-analytics popularity was classified as not popular.
We found that @capacitor-community/appcenter-analytics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 42 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.