Configuration

Go to Settings → Plugins → Clicky to configure the plugin.

Credentials

Don’t have a Clicky account yet? Sign up (affiliate link)

Enter your Clicky Site ID and Sitekey. You'll find both in Clicky under Preferences → Site → "Site ID & keys".

Both fields accept environment-variable syntax, and that's the way we'd recommend doing it. Add the credentials to your .env:

CLICKY_SITE_ID="123456"
CLICKY_SITEKEY="abc123def456"

…then enter $CLICKY_SITE_ID and $CLICKY_SITEKEY in the settings fields. Click Test connection to verify the credentials against the live Clicky API before saving.

Tip

The Sitekey is a private credential. Keep it in an environment variable rather than committing it to project config.

Other settings

SettingDescription
Default date range The range widgets and the page-stats field use by default. One of: Today, Yesterday, 2 days ago, Last 7 / 14 / 28 / 60 / 90 days.
Cache duration How long, in seconds, to cache Clicky API responses. disables caching. Defaults to 300.
Colour scheme The accent palette applied across the widgets, the field and the charts. See Colour schemes.

Tracking code

The plugin can also add the Clicky tracking snippet to your front end for you, so there's no need to paste it into your layout by hand. You'll find the equivalent in Clicky under Prefs → Tracking code:

SettingDescription
Inject tracking code Adds the async