# Analytics for plugins.jenkins.io - Matomo?

**URL:** https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169
**Category:** Infrastructure
**Tags:** infra
**Created:** [June 20, 2021, 10:01pm UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169 "2021-06-20T22:01:29Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 20, 2021, 10:01pm UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/1 "2021-06-20T22:01:29Z")

</div>

Looks like we are using google analytics for [jenkins.io](http://jenkins.io) and so far nothing for [plugins.jenkins.io](http://plugins.jenkins.io),

I’m wanting to suggest Matomo for [plugins.jenkins.io](http://plugins.jenkins.io), and potentially the same for [jenkins.io](http://jenkins.io). I’ll admit I’m mostly curious what things are being clicked on (Like for example, does anyone care about new plugins?). We use matomo internally at current and past jobs because it was able to be self hosted, so for internal apps, no data got leaked out. As such I kinda fell in love with it. Its simple and straight forward, at least for non marketing purposes. I’ve never used the advanced GA functionality so I can’t speak how it compares.

The big selling point of Matomo is its privacy first attitude. Cookie trackers are single site, so not tracking you across the internet. The default visitor hash has a date so people are not tracked over multiple days. And there’s super easy support for adding in [opt-out support/ui](https://matomo.org/faq/general/faq_20000/).

Which brings me to point number two. As Canada isn’t one of the countries we need the cookie banners for, I havn’t been following it, but based on [Don’t irritate visitors with cookie consent banners - Analytics Platform - Matomo](https://matomo.org/cookie-consent-banners/)  
I think we should have a cookie banner for [jenkins.io](http://jenkins.io) because of GA. And if we add a cookie banner, we might as well not really have it because most people won’t opt in.

So, things I’m looking for from people:

- Reasons why matomo is a good idea
- Reasons why we shouldn’t run matomo (Past pitfalls you’ve encountered)
- Alternatives you have heard of that I should invesigate
- Essentially any other feedback about the idea.

---

<div class="post-metadata">

### Author: ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)
#### Post date: [June 21, 2021, 12:06am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/2 "2021-06-21T00:06:29Z")

</div>

I like the privacy sensitivity that you described for Matomo. No objections from me for using it. I’m not experienced with site metrics or their use, but trust your judgment that Matomo is a good choice.

---

<div class="post-metadata">

### Author: ![oleg-nenashev](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/oleg-nenashev/32/36_2.png) [@oleg-nenashev](https://community.jenkins.io/u/oleg-nenashev)
#### Post date: [June 21, 2021, 2:45am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/3 "2021-06-21T02:45:53Z")

</div>

I was thinking about a similar topic a week ago. I was wondering about “if we do not really use Google Analytics as a data source for the community, why do we even keep it?”. I was rather thinking about disabling Google Analytics for good on our resources.

Switching to Matomo makes sense though I assume we would like to ask for sponsorship and SaaS then. I doubt we want to run our own analytics service and to store data. I like Matomo, because it is an open source solution with a diverse list of contributors and end user companies. I have no practical experience with it though.

Whatever we do, I think we should target having a single web analytics solution. I see 3 options we could vote for:

- Evaluate and adopt Matomo or any other FOSS web analytics
- Keep using Google Analytics
- Ditch web analytics all together

The only advantage of Google Analytics is that it helps users to find right resources on [jenkins.io](http://jenkins.io) thanks to the collected analytics being used for Google Search. It was essential when we had no embedded site search, and it is somewhat important even these days.

Maybe @timja could share some data about [jenkins.io](http://jenkins.io) and [plugins.jenkins.io](http://plugins.jenkins.io) website hits from Google search.

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 21, 2021, 3:09am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/4 "2021-06-21T03:09:36Z")

</div>

> [@oleg-nenashev](#):
>
> The only advantage of Google Analytics is that it helps users to find right resources on [jenkins.io](http://jenkins.io) thanks to the collected analytics being used for Google Search. It was essential when we had no embedded site search, and it is somewhat important even these days.

how? as in google will index it more?

> [@oleg-nenashev](#):
>
> Maybe @timja could share some data about [jenkins.io](http://jenkins.io) and [plugins.jenkins.io](http://plugins.jenkins.io) website hits from Google search.

I’m not sure what that data will provide, especially since I have access to the search results from google into the site, and algolia on what people are searching on the site. That might be useful for [jenkins.io](http://jenkins.io), since knowing how they get there means the content might need to be changed, but not useful for [plugins.jenkins.io](http://plugins.jenkins.io), as the content isn’t controlled by anyone other than plugin authors.

What I was wanting to know is what features are being used. Is the issues tab ever being clicked. Do people ever click on the new/trending/updated things in the footer. What are the common links out. Etc. Behavior things, which is exactly what the analytics provides.

---

<div class="post-metadata">

### Author: ![oleg-nenashev](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/oleg-nenashev/32/36_2.png) [@oleg-nenashev](https://community.jenkins.io/u/oleg-nenashev)
#### Post date: [June 21, 2021, 3:22am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/5 "2021-06-21T03:22:45Z")

</div>

> [@halkeye](#):
>
> how? as in google will index it more?

Google can potentially adjust its search outputs based on the collected data and user cohorts (e.g. “People in the US prefer using Declarative Pipeline” while “People in Russia prefer hacking everything with Scripted Pipeline and Pipeline Libraries”). Not sure they do something reasonable for [jenkins.io](http://jenkins.io), I am not a SEO expert or a Google employee. I can only say for sure that I get completely different results when searching for open hardware things (VHDL for my Google account, Verilog for anonymous search).

> What I was wanting to know is what features are being used. Is the issues tab ever being clicked. Do people ever click on the new/trending/updated things in the footer. What are the common links out. Etc. Behavior things, which is exactly what the analytics provides.

If somebody is going to use analytics to improve our websites, I totally support using Matomo or any other solution

---

<div class="post-metadata">

### Author: ![saper](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/saper/32/138_2.png) [@saper](https://community.jenkins.io/u/saper)
#### Post date: [June 21, 2021, 8:27pm UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/6 "2021-06-21T20:27:35Z")

</div>

+1 for getting of Analytics

Interesting alternative to Matomo, which is fine but quite “big”: [What makes Plausible a great Matomo alternative | Plausible Analytics](https://plausible.io/vs-matomo) (haven’t deployed myself yet)

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 21, 2021, 10:15pm UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/7 "2021-06-21T22:15:42Z")

</div>

> [@saper](#):
>
> Interesting alternative to Matomo, which is fine but quite “big”: [What makes Plausible a great Matomo alternative | Plausible Analytics](https://plausible.io/vs-matomo) (haven’t deployed myself yet)

oh man. This is one of the biggest show cases for why doing things in public is so important. I hadn’t even heard of that before. It looks pretty cool. I may install both and do a side by side comparision, but if I can track what people are clicking (not links) on with plausible, that might be better. Matomo has a lot of features which I can’t see me ever using

---

<div class="post-metadata">

### Author: ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)
#### Post date: [June 22, 2021, 2:01am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/8 "2021-06-22T02:01:31Z")

</div>

> I’m not sure what that data will provide, especially since I have access to the search results from google into the site, and algolia on what people are searching on the sit

I’ve found it a little bit helpful to see the Algolia reports for [plugins.jenkins.io](http://plugins.jenkins.io). They show that people are still searching for `tfs` and those searches are not finding the `tfs` page. Unfortunately, I don’t know what to do with that information to better help users see the current state of the Jenkins TFS plugin.

However, I assume that information from Algolia search will continue to be available to us.

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 22, 2021, 2:11am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/9 "2021-06-22T02:11:41Z")

</div>

> [@MarkEWaite](#):
>
> However, I assume that information from Algolia search will continue to be available to us.

yea, because people are searching on algolia, its not going to go away. I wasn’t planning on removing anything.

Matomo has nice flows, so you’d be able to see someone came in from google searching for “tfs”, which led them to /plugin-foo then clicked the button labeled “github”, and left the site.  
I’ve never managed to see that flow easily on google before.

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 24, 2021, 5:18am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/10 "2021-06-24T05:18:32Z")

</div>

Matomo Cloud support got back to me today. I’m not really good at asking for sponsorship, so I think that part was missed. They pretty much told me:

```
Matomo Business Cloud - 12,900 USD per year (excluding discount)

up to 5M pageviews per month
up to 30 websites
Learn more: https://matomo.org/pricing/

```

Honestly, I don’t think its worth it for this. I could host it on my home cloud for a month or so. Honestly its super easy to setup on the infra k8s (just needs mysql).

I don’t really have strong feelings on what to do next. I was just hoping to find out if the footer is used.

---

<div class="post-metadata">

### Author: ![oleg-nenashev](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/oleg-nenashev/32/36_2.png) [@oleg-nenashev](https://community.jenkins.io/u/oleg-nenashev)
#### Post date: [June 25, 2021, 4:17am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/11 "2021-06-25T04:17:55Z")

</div>

> [@halkeye](#):
>
> Honestly, I don’t think its worth it for this. I could host it on my home cloud for a month or so. Honestly its super easy to setup on the infra k8s (just needs mysql).

Self-hosting is always an option. Also it might be a use-case for using asking smaller public cloud sponsors like DigitalOcean, IBM, or maybe CIVO Cloud if someone wants to experiment

---

<div class="post-metadata">

### Author: ![olblak](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/olblak/32/3_2.png) [@olblak](https://community.jenkins.io/u/olblak)
#### Post date: [June 28, 2021, 9:46am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/12 "2021-06-28T09:46:30Z")

</div>

I am all in favor to switching to something else than Google Analytics for [plugins.jenkins.io](http://plugins.jenkins.io) .  
I am a happy user of plausible for personal projects.  
It provides less information than Google analytics but it shows me what I want to know, where the traffic comes from, bounce rate, time spent, and page visited.

What I like with plausible is that we can make dashboard public.  
I have a paid account with enough quota so I can quickly add [plugins.jenkins.io](http://plugins.jenkins.io) but I doubt having enough quota for [jenkins.io](http://jenkins.io) as well but if we are happy then we can explore solutions.

I would avoid hosting such services ourselves because then we would have to be sure that data are correctly persisted otherwise it lose it’s value.  
With [jenkins.io](http://jenkins.io) I like that we have data to compare current traffic with what we had 5years ago.

---

<div class="post-metadata">

### Author: ![olblak](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/olblak/32/3_2.png) [@olblak](https://community.jenkins.io/u/olblak)
#### Post date: [June 28, 2021, 9:55am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/14 "2021-06-28T09:55:30Z")

</div>

Once we add `<script defer data-domain="plugins.jenkins.io" src="https://plausible.io/js/plausible.js"></script>` to [plugins.jenkins.io](http://plugins.jenkins.io) `<head>`, then we will see data to [Plausible · plugins.jenkins.io](https://plausible.io/plugins.jenkins.io)

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 29, 2021, 2:31am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/15 "2021-06-29T02:31:32Z")

</div>

can it do events? I really want to track if people are clicking any of the links at the bottom of the page/footer.

[Plausible support by halkeye · Pull Request #725 · jenkins-infra/plugin-site · GitHub](https://github.com/jenkins-infra/plugin-site/pull/725) is merged now, so we’ll get basic tracking.

---

<div class="post-metadata">

### Author: ![oleg-nenashev](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/oleg-nenashev/32/36_2.png) [@oleg-nenashev](https://community.jenkins.io/u/oleg-nenashev)
#### Post date: [June 29, 2021, 3:22am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/16 "2021-06-29T03:22:58Z")

</div>

Thanks @halkeye and @halkeye, it’s working 🎉 I especially like that the analytics becomes public with this change. I do not think we have anything to hide, and it is another valuable tool we could share with maintainers and adopters/vendors.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/1X/c8a10fd76e80a75c09a9be9f3a4935331fdd88ca.png)

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 29, 2021, 3:46am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/17 "2021-06-29T03:46:34Z")

</div>

Thank you and thank you?

It doesn’t solve any of my needs, but I have no objections to it. After the conference tomorrow I’ll see if work will let me throw up a VM with matomo on it. Failing that i’ll run it on my own account for a few months. I want to know what they are doing, not who they are.

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [June 29, 2021, 3:51am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/18 "2021-06-29T03:51:21Z")

</div>

Apparently custom events are doable - [Internal link click tracking | Plausible docs](https://plausible.io/docs/internal-link-click-tracking#2-add-the-onclick-element-to-the-links-you-want-to-track)

---

<div class="post-metadata">

### Author: ![oleg-nenashev](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/oleg-nenashev/32/36_2.png) [@oleg-nenashev](https://community.jenkins.io/u/oleg-nenashev)
#### Post date: [June 29, 2021, 4:19am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/19 "2021-06-29T04:19:56Z")

</div>

> Thank you and thank you?

Sorry, intended to thank @olblak and you. +1 for the plan, whatever works best for you

---

<div class="post-metadata">

### Author: ![olblak](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/olblak/32/3_2.png) [@olblak](https://community.jenkins.io/u/olblak)
#### Post date: [June 29, 2021, 11:24am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/20 "2021-06-29T11:24:42Z")

</div>

I totally under-estimated [plugins.jenkins.io](http://plugins.jenkins.io) traffic 😛  
We had 8.5k visitors in 9 hours who generated 18.5k page views  
With a rough estimation that would be more than 1500k page views per month.  
That means that I would have to pay 70euro per month to cover [plugins.jenkins.io](http://plugins.jenkins.io) stats.  
 → [Plausible Analytics | Simple, privacy-friendly alternative to Google Analytics](https://plausible.io/#pricing)

I am going to rollback this for now

---

<div class="post-metadata">

### Author: ![olblak](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/olblak/32/3_2.png) [@olblak](https://community.jenkins.io/u/olblak)
#### Post date: [June 29, 2021, 11:30am UTC](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169/21 "2021-06-29T11:30:45Z")

</div>

I could explore some sponsoring options

[Next page](https://community.jenkins.io/t/analytics-for-plugins-jenkins-io-matomo/169.md?page=2)
