AI Agent Hub
Back to skills
Umeng App Core Metrics and Intelligent Patrol icon

Umeng App Core Metrics and Intelligent Patrol

Data Analysis Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Install @user_fc9923d6/umeng-api by following https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Umeng app data is often spread across new users, active users, launches, retention, channel, and version metrics. Investigating anomalies usually requires manually calling several APIs, aligning dates, and tracking the correct APPKEY. umeng-api packages these queries into a reusable Python SDK, making it easier to pull core statistics and anomaly reports from scripts, internal tools, or agent workflows.

How It Works

  • Credential loading: It prefers values passed in code, then reads umeng-config.json, then falls back to environment variables, keeping apiKey and apiSecurity out of business logic where possible.
  • Metric queries: For a target APPKEY and date, it calls Umeng UApp APIs for new users, active users, launches, usage duration, retention, channel, and version data.
  • Anomaly inspection: Beyond baseline metrics, it queries anomaly-detection and attribution reports to help identify likely business causes behind metric shifts.
  • Error handling: It distinguishes aop.ApiError, aop.AopError, and ValueError, which helps separate gateway failures, pre-request client errors, and missing credential configuration.

Boundaries

The skill assumes a valid Umeng account, app APPKEY, and API credentials. It does not replace monitoring, alerting, or incident-response systems, and it remains subject to Umeng API rate limits. Sensitive credentials should not be hard-coded, and configuration files should be excluded from version control and file-permission protected.

Use Cases

  • When a drop in yesterday active users is reported, pull new-user, active, and launch metrics by APPKEY to locate anomalies.
  • Before weekly review, query new users, usage duration, retention, and version distribution for a specified date to prepare inspection notes.
  • When comparing channel performance, fetch channel data and baseline metrics for the same APPKEY to review new and active users.
  • When preparing anomaly attribution, query the anomaly report and compare it with core metrics to bound the impact.

Best For

  • Mobile growth engineers who own daily app reports and need new-user, active, and launch metrics by APPKEY.
  • Application engineers investigating metric swings who need Umeng anomaly reports and attribution context.
  • Operations colleagues comparing channel and version performance who need channel, version, and retention data.
  • Platform engineers building data inspection scripts who need a reusable Python SDK and config-based credentials.