Overview
Clicky Analytics brings your Clicky web analytics into the Craft CMS 5 control panel. It adds a set of native dashboard widgets plus a per-entry page-stats field, all running off the Clicky stats API.
What it does
- Adds 21 dashboard widgets you can mix and match on any Craft dashboard: from a headline Overview to Top Pages, Traffic Sources, Countries, Browsers, Goals, Campaigns and more.
- Adds a configurable Report widget that'll render any single metric as a Counter, Line, Bar or Pie chart.
- Adds a Live Visitors widget with a real-time feed of recent visits, complete with country flags, browser/OS logos, referrer and dwell time.
- Adds a Clicky Analytics Page Stats field that shows an individual entry's analytics inside the entry editor, worked out live from the entry's URL.
- Exposes the same data to your templates through a
craft.clickyAnalyticsTwig variable. - Can inject the Clicky tracking snippet into your front end automatically, if you want it to; see Tracking code.
How it works under the hood
A single Api service wraps the Clicky stats API. It packs one or more report "types" into each HTTP call, normalises Clicky's nested response into flat arrays, decorates rows with country flags and browser/OS/search-engine logos, and caches every response for however long you've set. The widgets, the page-stats field and the craft.clickyAnalytics Twig variable all read through that one service, so the dashboard, the entry editor and your front end always see the same numbers.
The plugin doesn't store any analytics data of its own. Everything's fetched live from Clicky (and cached briefly); there are no database tables and no migrations to worry about.
Clicky is a trademark of Roxr Software Ltd. this is an unofficial, community
plugin with nothing to do with them directly.