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
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.
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