MMOframework
Why AI Playground Libraries Documentation Search Agency
FR EN
Index

AnalyticsProvider

MMO\admin\monitoring\providers · 1 symbol · generated 27 Oct 2026

class

AnalyticsProvider

AnalyticsProvider.php:17

A site's audience for the hub: today's headline numbers of mmo.metrics (visitors, visits, page views, users logged in, conversions, errors), so the hub compares the clients' use of the application side by side.

class MMO\admin\monitoring\providers\AnalyticsProvider implements MMO\admin\monitoring\iMetricsProvider
Namespace
MMO\admin\monitoring\providers
Implements
iMetricsProvider
mmo.metrics is not a dependency of mmo.admin: without it, this provider adds nothing. Named among the site's MetricsController providers: `"providers": ["MMO\\admin\\monitoring\\providers\\AnalyticsProvider"]`. Metrics (prefixed `app.` by the hub): `audience.visitors`, `audience.visits`, `audience.pageviews`, `audience.users`, `audience.conversions`, `audience.errors`, `audience.bounceRate` (%), `audience.visitDuration` (s).

Index

KPISthe headline number => whether it is a ratio, shown in %
METRICSmmo.metrics' entry point, named rather than imported: the class may not exist
PERIOD
collect($metrics)
debugName()

Constants3

KPIS

the headline number => whether it is a ratio, shown in %

const KPIS = […8 items]

METRICS

mmo.metrics' entry point, named rather than imported: the class may not exist

const METRICS = '\\MMO\\metrics\\Metrics'

PERIOD

const PERIOD = '\\MMO\\metrics\\helpers\\Period'

Methods2