Plugin screenshot thumbnail 1/1

Main features:

  • Count site visits, visitors, and online users.
  • Count page visits.
  • 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.

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']) %}

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

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
2
Version
1.0.0-alpha.4
License
Craft
Compatibility
Craft 5
Tested on Cloud
Supports GraphQL
Last release
October 27, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs