Platform capabilities
Three product lines
Fmeng Analytics models each product line separately: websites, mini programs and apps (Android and iOS share one app console) each have their own events, metric definitions and reports — website PV and bounce rate are never forced onto apps. Every line works the same way: install the SDK → data is collected automatically → add business events → read the reports. The tables below compare the platforms.
Auto-collected data
Data you get without writing code once the SDK is installed (— means not available or not applicable):
| Data | Website (fmeng.js) | Mini program | Android | iOS |
|---|---|---|---|---|
| Page views | First load and SPA route changes | Page.onShow, by page route | Activity shown | UIViewController appears |
| Source | Referring site, search engine and keyword, UTM parameters | Scene value and launch query | Install channel (FMENG_CHANNEL) | Install channel (auto-detected or FMENG_CHANNEL) |
| Visits / sessions | New visit after 30 min idle or a new day | Foreground / background, 30-min sessions | Foreground / background; new launch after background timeout | Foreground / background; new launch after background timeout |
| Time | Visible time on page, scroll depth | Foreground time per visit | Foreground time, time on screen | Foreground time, time on screen |
| Performance | LCP, FCP, INP, CLS, TTFB, Load | Page render time | Cold / warm / hot launch time | Cold / warm / hot launch time |
| Errors and crashes | Uncaught JS errors and promise rejections | onError and unhandled rejections | Java / native crashes, ANRs | Crashes (exceptions / signals), main-thread hangs |
| Outbound links and downloads | Cross-domain link clicks, file downloads | — | — | — |
| Click heatmap | Click positions (off by default, enable with data-clicks) | — | — | — |
| Sharing | — | Share count and method (button / menu / timeline) | — | — |
| Device and location | Browser, OS, device type, screen, language, location, ISP | Model, OS, network, screen, location | Model, manufacturer, OS, network, carrier, location | Model, OS, network, language, location |
On top of that, all four SDKs report custom events with properties through track (up to 20 properties per event on websites, 30 elsewhere) and link signed-in users with identify / setUserId.
Reports
Reports in the console for each product line (— means the line has no such report):
| Report | Website | Mini program | App |
|---|---|---|---|
| Overview and trends | PV, UV, visits, bounce rate, average visit duration; by hour / day / week / month with period comparison | Opens, users, visits, time per visit, bounce rate | Active users, new users, launches, usage time |
| Real time | Visitors and pages in the last 30 minutes | Events in the last 30 minutes | Activity in the last 30 minutes |
| Sources | All sources, search engines, keywords, referrers, UTM campaigns | Scene values, scene categories, share-backs | Versions and channels |
| Pages | Top pages, entry and exit pages, page flow, hostnames | Page views, time on page, entries, bounces and exits | Screen views and time on screen |
| Visitors / users | New vs returning, browser, OS, device, screen, language and network | New vs returning, platform and version, model, OS, network, location | Devices (model, OS, network), locations |
| Events and properties | Event analysis; properties by value or by range | Event analysis; properties by value or by range | Event analysis; properties by value or by range |
| Goals | Page-visit and event goals, conversions by channel | Page-visit and event goals | — |
| Funnels | 2–8 steps per visit, split by a dimension | 2–8 steps per visit, split by a dimension | — |
| Paths | User paths, click heatmap | User paths | — |
| Retention | — | New-user retention on day 1–7, 14 and 30 | New-user retention by day |
| Performance and errors | Page performance (Web Vitals), JS errors grouped by issue | Page performance, runtime errors | Crashes, ANRs, launch performance |
Website detail tables can be downloaded as CSV, sorted by any column, and pinned to the sidebar; clicking any row in any report filters the whole dashboard by that value.
Where to find answers
Start from the question (the use cases have the full tracking code and how to read the numbers):
| I want to know | Where to look |
|---|---|
| Where traffic comes from and which campaign works best | Website "Sources" and "UTM campaigns"; mini program "Sources" scene values; app "Versions" See the case |
| Which pages are popular and where people leave | Website "Pages" (pages, entry, exit pages and page flow); mini program "Pages" and app "Screens" |
| Sign-up and order conversion rates, and where people drop off | "Goals" and "Funnels" (websites, mini programs) See the case |
| How often a feature is used and how its parameters are distributed | "Events" → View properties (by value / by range) See the case |
| Which ranges durations, amounts or quantities fall into | "Events" → View properties → By range, with P50 / P90 / P99 See the case |
| Whether new users come back | Mini program and app "Retention" |
| Whether a new release is stable and where crashes cluster | App "Crashes" and "ANRs"; website "JS errors"; mini program "Errors" See the case |
| How fast pages or the app open | Website and mini program "Performance"; app "Launch time" |
| Pull data into my own dashboards, or let an AI assistant query it | Open REST API and MCP See the case |
Open API and MCP
Every API the console uses is open to you: create a token on the console's "API tokens & MCP" page, then scripts can read reports through the same REST API, and AI assistants (Claude Code, Codex and others) can create sites, fetch install code and query data over MCP.
Collaboration and sharing
Not supported yet
These are not supported yet — please do not rely on them:
- Apps have no goals, funnels or user paths; compare step events in event analysis instead.
- Websites have no retention report.
- Hash routes on websites (/#/page) are counted by the path before #, so all hash pages collapse into one page.
- User IDs sent from mini programs and apps are stored with events, but user counts are still de-duplicated by device; on websites identify merges one user's devices into a single visitor.
- MCP does not serve mini program reports yet; use the REST API for mini program data.