U-App get retentions
umeng_uapp_get_retentionsRetrieve retention statistics for new or active users by date range, with optional channel and version filters.
Instructions
Get retention statistics for new or active users. Official API: umeng.uapp.getRetentions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appkey | No | Umeng appkey. If omitted, UMENG_DEFAULT_APPKEY will be used. | |
| startDate | Yes | Start date in YYYY-MM-DD format. | |
| endDate | Yes | End date in YYYY-MM-DD format. | |
| periodType | No | Aggregation period: daily, weekly, monthly, 7day, or 30day when supported by the API. | daily |
| channel | No | Optional channel filter. Pass one channel only. | |
| version | No | Optional app version filter. Pass one version only. | |
| type | No | Retention type: newUser or activeUser. Defaults to newUser. |