Plugin screenshot thumbnail 1/2
Plugin screenshot thumbnail 2/2

Main features:

  • Count site visits, visitors, and online users.
  • Count page visits.
  • Display top pages and trending pages on the site frontend.
  • Support GraphQL and Twig for fetching site and page statistics.
  • Provide statistics widgets for user dashboards.

Quick setup

  • Enable the Register counter automatically plugin setting for the desired site.
  • Add the necessary widgets to your dashboard.

Dashboard widgets

Use Twig to fetch data

{% set visits = craft.counter.siteVisits('today') %}
{% set visitors = craft.counter.siteVisitors('today') %}
{% set online = craft.counter.onlineVisitors() %}
{% set pageVisits = craft.counter.pageVisits('url', '*', ['today']) %}
{% set topPages = craft.counter.topPages('today', '*', 5, true, filters: {items: ["page", "entry"], sectionHandles: ["section1", "section2"]})

Use GraphQL to fetch data

Get site's visits and visitors

{
  counter(dateRange:"today") {
  visits
  visitors
  onlineVisitors
  }
}

Get page's visits

{
 pageVisits(page: "url", siteId: "*") {
   today
 }
}

Get top pages

{
  topPages(dateRange: "all", siteId: "*", limit: 10, showElementTitle: true, filters: {items: ["entry", "page"], sectionHandles: ["section1", "section2"]}) {
    url
    page
    visits
    elementId
    elementType
    siteId
  }
}

Please visit the full documentation page for detailed examples.

Standard

Plus $9/year after one year.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
93
Version
1.1.0
License
Craft
Compatibility
Craft 4, Craft 5
Tested on Craft Cloud
Supports GraphQL
Last release
September 11, 2025
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs