# Planning: Comprehensive Piwik Plugin

**URL:** <https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954>\
**Category:** Plugins\
**Created:** [April 30, 2015, 12:07pm UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954 "2015-04-30T12:07:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DieserJonas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/dieserjonas/32/10873_2.png) [@DieserJonas](https://forum.getkirby.com/u/DieserJonas)\
**Post date:** [April 30, 2015, 12:07pm UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/1 "2015-04-30T12:07:42Z")

</div>

## The Plan

I’m currently playing with the thought of creating a comprehensive Piwik plugin for Kirby. The idea is to have a fully-featured, well written, one-stop solution for everything _Kirby \<=\> Piwik_ related.

It should be fairly easy to set up, work with every Kirby website and require no additional efforts to keep it running on your site.

Below I have added a list of features and functions that came to my mind and that I want to build into the plugin. If you however have any further suggestions then please don’t hesitate to tell me about them:

- What features would you wan to see in such a plugin?
- What bugs you about using Piwik on Kirby powered sites?
- How could the process of integrating Piwiks Visitor- and Event-Tracking mechanisms into your projects smoothed out?

## Features

**Tracking-Code**

- Embed Tracking-Code `<?= Piwik::trackingCode()->generate() ?>`
- Configure Tracking-Code
  - cookie domains
  - alias urls
  - user defined variables
  - „do not track“
  - disabling tracking cookies
  - campaign parameters

- Exclude users / user groups from tracking

**Dashboard Widgets**

- Live Visitors
- Last 30 days
- Popular Keywords
- Top Referrers
- Launch Piwik

**Additional Features**

- Embed Optout-Iframe `<?= Piwik::optoutFrame()->generate() ?>`
- Embed various statistics (as numbers)_, eg. total visits or page views within the last 30 days, …_

**Foundation**

- Self-updating statistics
- Minimal page-load influence
- Advanced caching
- Modern PHP

**Let me know what you guys think about it and what features you’d like to see!**

Cheers, Jonas

---

<div class="post-metadata">

**Author:** ![thguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thguenther/32/16708_2.png) [@thguenther](https://forum.getkirby.com/u/thguenther)\
**Post date:** [May 11, 2015, 5:06pm UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/2 "2015-05-11T17:06:17Z")

</div>

Awesome! I’d love and also gladly **pay** for such a plugin. And I’m sure it will be really well built, like all your Kirby related stuff. 👍

---

<div class="post-metadata">

**Author:** ![samnabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/samnabi/32/5535_2.png) [@samnabi](https://forum.getkirby.com/u/samnabi)\
**Post date:** [May 12, 2015, 2:55am UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/3 "2015-05-12T02:55:25Z")

</div>

I would add “most popular pages” to the dashboard widgets.

Also, I’d gladly pay ($5-10 per site) for a plugin.

---

<div class="post-metadata">

**Author:** ![Malvese](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/malvese/32/12375_2.png) [@Malvese](https://forum.getkirby.com/u/Malvese)\
**Post date:** [May 12, 2015, 8:24am UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/4 "2015-05-12T08:24:21Z")

</div>

I’m not familiar with Piwik but i’ll test it on an site I’m currently building. Such a plugin seems wonderful!

---

<div class="post-metadata">

**Author:** ![DieserJonas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/dieserjonas/32/10873_2.png) [@DieserJonas](https://forum.getkirby.com/u/DieserJonas)\
**Post date:** [May 16, 2015, 11:26am UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/5 "2015-05-16T11:26:38Z")

</div>

## Sneak Peak #1: “Visits Over Time” Widget

Just finished up the “Visits Over Time” widget, that shows you a nice interactive chart of your recent visits and visitors. To make it really flexible, the number of days it includes is configurable.

![](https://dub1.discourse-cdn.com/flex017/uploads/getkirby/559/76a454c2418e0d09.png)

---

<div class="post-metadata">

**Author:** ![starckio](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/starckio/32/10405_2.png) [@starckio](https://forum.getkirby.com/u/starckio)\
**Post date:** [May 19, 2015, 4:47pm UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/6 "2015-05-19T16:47:26Z")

</div>

Ok great!  
I am available for beta testing.  
(If you need.)

I will also be happy to pay $5 / $10 for this plugin! 😉

Chris.

---

<div class="post-metadata">

**Author:** ![plaidpowered](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/plaidpowered/32/271_2.png) [@plaidpowered](https://forum.getkirby.com/u/plaidpowered)\
**Post date:** [May 19, 2015, 5:49pm UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/7 "2015-05-19T17:49:41Z")

</div>

I had never heard of Piwik before this thread, but I’m quite grateful for your mention of it. Finally I can leave Google Analytics!

Yeah, to join the chorus, I would pay for this (or my clients would) - probably something in the under-$20 range. I’ll try give you some more feedback once I better familiarize myself with Piwik’s features.

---

<div class="post-metadata">

**Author:** ![DieserJonas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/dieserjonas/32/10873_2.png) [@DieserJonas](https://forum.getkirby.com/u/DieserJonas)\
**Post date:** [June 15, 2015, 8:54am UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/8 "2015-06-15T08:54:00Z")

</div>

I guess it’s about time to add a few more previews of what’s coming soon to this thread. I expect the launch date to be within the first week of July, so keep your fingers crossed that everything works out as expected 😉

Since I have been ask where you’ll be able to buy the plugin a few times now, I decided to just put up the product page right now. With that in place, you may also preorder the plugin.

**[Preorder Piwik Suite for Kirby CMS now.](https://gumroad.com/l/piwiksuite)**

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/1X/0d43ff14c02f441e60e7583337289e23ac6d596b.jpg) 

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/1X/cd2efa3a47f198b785920c200879d7224a96cfd2.jpg) 

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/1X/1723b5dccfa3aa6a775fd1896640152090387c1c.jpg) 

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/1X/5c0d4440f9318599f785b6929da3fe9584baffcb.jpg)

---

<div class="post-metadata">

**Author:** ![Stolzenhain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/stolzenhain/32/4773_2.png) [@Stolzenhain](https://forum.getkirby.com/u/Stolzenhain)\
**Post date:** [July 27, 2015, 10:58am UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/9 "2015-07-27T10:58:15Z")

</div>

Props for the plugin! Just coming from the plugin documentation page:

A pretty common usecase in my projects is a dead link (eg 404) checker – if you have a good idea how to filter Piwik records of this in the same way as the top referers that would really make for a robust Dashboard logger.

---

<div class="post-metadata">

**Author:** ![Stolzenhain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/stolzenhain/32/4773_2.png) [@Stolzenhain](https://forum.getkirby.com/u/Stolzenhain)\
**Post date:** [March 23, 2016, 8:59am UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/10 "2016-03-23T08:59:09Z")

</div>

> [@DieserJonas](#):
>
> Since I have been ask where you’ll be able to buy the plugin a few times now, I decided to just put up the product page right now. With that in place, you may also preorder the plugin.
> 
> Preorder Piwik Suite for Kirby CMS now.

Hello again! Seeing this is still in preorder state – did you ever go on with this plugin? Would be pretty helpful for several clients.

Best!

---

<div class="post-metadata">

**Author:** ![S1SYPHOS](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/s1syphos/32/3671_2.png) [@S1SYPHOS](https://forum.getkirby.com/u/S1SYPHOS)\
**Post date:** [December 11, 2017, 5:39pm UTC](https://forum.getkirby.com/t/planning-comprehensive-piwik-plugin/954/11 "2017-12-11T17:39:29Z")

</div>

Yeah, I’d be interested in its current state, too.
