PHPackages                             adamkiss/kirby-goat-counter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. adamkiss/kirby-goat-counter

AbandonedArchivedKirby-plugin[Utility &amp; Helpers](/categories/utility)

adamkiss/kirby-goat-counter
===========================

Simple Goat Counter plugin for the Kirby CMS

1.0.1(3y ago)47MITJavaScript

Since Oct 30Pushed 2y ago3 watchersCompare

[ Source](https://github.com/adamkiss/kirby-goat-counter)[ Packagist](https://packagist.org/packages/adamkiss/kirby-goat-counter)[ RSS](/packages/adamkiss-kirby-goat-counter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Warning

**ARCHIVED in Q1 2024**
Since Goat counter still uses a token → cookie → redirect strategy, it's nearly impossible to reliably embed even a public stats page via &lt;iframe&gt;. This plugin is thus archived.

Kirby Goat Counter
==================

[](#kirby-goat-counter)

Simple plugin providing goat counter iframe panel view to kirby panel and a simple frontend snippet.

Instalation
-----------

[](#instalation)

`composer require adamkiss/kirby-goat-counter`or download from releases

How to use
----------

[](#how-to-use)

1. Set the "dashboard viewawble by" to "Logged in users or with secret token"
2. Set `adamkiss.goat-counter.site-name` to your goat counter site name (`[site-name].goatcounter.com`)
3. Set `adamkiss.goat-counter.token` to the token for the dashboard availability

config.php example

```
'adamkiss.goat-counter' => [
	'site-name' => 'my-site', // my-site.goatcounter.com
	'token' => '3b43e4q4g465z2y4j6n313i6v5l6r703o3n144d' // token you can get at https://[site-name].goatcounter.com/settings/main
];
```

Frontend snippet to be placed in your HTML. Automatically disabled in the debug mode.

```
