Search by

hitsteps / hitsteps-analytics

hitsteps

Real-time visitor analytics and heatmaps for your Craft CMS site.

Package info

github.com/Hitsteps/CraftCMS

Documentation

Type:craft-plugin

pkg:composer/hitsteps/hitsteps-analytics

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2026-12-01 04:57 UTC

This package is auto-updated.

Last update: 2026-12-01 10:02:42 UTC


README

Watch live visitors, page activity and heatmaps for your Craft CMS site. Hitsteps Analytics adds your Hitsteps tracking code to the public pages of your site, so there is no template to edit.

Requirements

  • Craft CMS 5.0 or later
  • PHP 8.2 or later
  • A Hitsteps account. Create one for free, add your website and copy its tracking code.

Installation

In the control panel, open Plugin Store, search for "Hitsteps Analytics" and choose Install.

Setup

  1. Open Settings → Plugins → Hitsteps Analytics.
  2. Paste the tracking code from your Hitsteps dashboard. The whole code, the site code or an environment variable such as $HITSTEPS_TRACKING_CODE all work.
  3. Choose the sites that should be tracked and save.
  4. Open your site in a private window and watch your visit arrive in the Hitsteps dashboard.

Settings are stored in the project config. To keep them per environment, create config/hitsteps-analytics.php:

<?php
return [
    'enabled' => true,
    'trackingCode' => '$HITSTEPS_TRACKING_CODE',
    'sites' => '*',
];

What it adds

One script tag, placed before the closing </head> of front-end HTML pages:

<script src="https://edgecdnplus.com/code?code=YOUR_CODE" async></script>

The control panel, console commands, action requests, previews, non-HTML templates (JSON, XML, RSS) and pages that already contain a Hitsteps tracking code are left unchanged. Remove any Hitsteps code you pasted into your templates earlier, so each page keeps one copy.

Your consent popup, masking and privacy choices stay in your Hitsteps site settings. Mention Hitsteps in your privacy policy.

Updating and removing

Updates appear in Utilities → Updates, like every other Craft plugin.

To remove it, open Settings → Plugins, uninstall Hitsteps Analytics (or run php craft plugin/uninstall hitsteps-analytics), then choose Remove. Uninstalling removes its settings and the tracking code from every page.

Support

Setup guide · support@hitsteps.com