Mini-program Analytics
From scenes to share-backs

A separate product line for WeChat, Alipay, Douyin, Baidu and other mini programs, modeled around page routes, scenes, share methods and user behavior — Web URL / referrer / PV definitions are not reused. One SDK covers all four platforms and auto-collects lifecycle, pages, shares, errors and render time.
Platforms
WeChatAlipayDouyinBaidu
Sample data
Mini-program overviewLast 7 days
Opens
36,520
9.4%
Users
12,840
6.2%
Share-back rate
38.6%
3.1%
Day-7 retention
41.2%
1.8%
Opens trend
Top scenes
1001 Discover12,420
1007 Chat share9,541
1011 QR code6,972
1089 Pull-down4,518
Page routes
/pages/index18,320
/pages/goods/detail9,604
/pages/order/confirm3,281
Capabilities

What Mini-program Analytics does

Automatic lifecycle eventsLaunches, opens, backgrounding (with time spent), page views, shares, runtime errors and page render time are recorded automatically — no per-page tagging.
Scenes & entry pointsBreak entry quality down by scene, QR codes, shares, template messages, search and campaign parameters.
Shares & share-backsTrack forwards, share sources, returning users and the new users and conversions that shares bring.
Events & conversionsSend signup, authorization, search, order and payment events, reusing the goal and funnel framework.
Retention & qualityNew and active users, day-1 / day-7 retention, visit frequency and page flows.
Modeled on its ownA separate mini_events table with route / scene fields — never mixed with Web URLs and referrers.
Metrics

How the core metrics are defined

In mini programs the source is the host platform's scene and a page is a route, not a URL. This data goes to a separate mini_events table and never into Web Analytics.
MetricDefinition
OpensLaunches (app_launch) plus returns from background (app_show).
UsersUnique users; the SDK generates a visitor ID kept in local storage, and identify links it to your business user.
SceneThe entry scene reported by the host platform (e.g. 1001 Discover, 1007 chat share) — replaces the Web referrer.
Page routeThe page route (e.g. /pages/index) — replaces the Web URL.
Share-backsOpens that came through share cards, and the new users they brought.
Day-7 retentionShare of new users who open the mini program again on day 7.
Get started

Up and running in three steps

01Add a mini programAdd it under My mini programs in the console to get its own APP_KEY.
02Integrate the SDKDownload the SDK into your project and initialize it at the top of app.js; auto-tracking starts right away.
03Release and exploreAllow the collector domain for requests, release, then see scenes, pages, shares, retention and conversions on the dashboard.
FAQ

Things you may want to know

Yes. Add a mini program and integrate the SDK; the console has 13 reports: overview, realtime, sources, pages, users, events, conversions, funnels, paths, retention, performance and errors.

Start with Mini-program Analytics

Add a mini program, copy the setup code and see your first data in minutes.