Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#1515 closed task (fixed)

install piwik on puma/cub

Reported by: planetcruiser Owned by: jsfan
Priority: major Milestone: 1.1
Component: ServerSetup Keywords: piwik, analytics
Cc:

Description

bevolunteer is down, we need a new piwik

meinhard! do it! :)

Change History (15)

comment:1 Changed 7 years ago by planetcruiser

question: should this really be on deer? lamb has too little ram to handle more services unfortunately..

comment:2 Changed 6 years ago by globetrotter_tt

as deer is replaced by puma. should be rename this ticket, or close it because we don't want to install piwik at all anymore?

comment:3 Changed 6 years ago by planetcruiser

  • Resolution set to wontfix
  • Status changed from new to closed

piwik is a "nice to have". no one asked about this apart from kasper. so, as long as no one volunteers to analyse our traffic.. wontfix ;)

however, it might be interesting to use piwik (or any other stats tool) see which features are used most and which not at all for a complete code rewrite later

comment:4 Changed 6 years ago by TimLoal

  • Component changed from unknown to ServerSetup
  • Milestone changed from unassigned to Legacy Resolved

comment:5 Changed 6 years ago by guaka

  • Keywords piwik analytics added
  • Milestone changed from Legacy Resolved to 1.1
  • Resolution wontfix deleted
  • Status changed from closed to reopened

I want to see where visitors are coming from. E.g. I set up links from hitchwiki (check http://hitchwiki.org/en/Hamburg) and now I want to know if this actually led to people visiting BeWelcome. Now I can't see that.

It's super easy to set up piwik. I'll be happy to do it.

comment:6 Changed 6 years ago by guaka

And of course it would be better to take the existing data to start with.

comment:7 Changed 6 years ago by guaka

Here's a bit about privacy in Piwik: http://piwik.org/privacy/

comment:8 Changed 6 years ago by jsfan

  • Summary changed from install piwik on deer to install piwik on puma/cub

comment:9 Changed 6 years ago by jsfan

  • Owner changed from planetcruiser to jsfan
  • Status changed from reopened to assigned

guaka, the only reason I haven't installed it, yet, because nobody ever replied to the email I sent on 21 August regarding the statistics. Back then the suggestion in the forums was AWStats with a plugin for user tracking. However, I'm happy with Piwik as well (even though server logs are more reliable).\

I'm assigning this to myself now to take care of it. I'll just install Piwik and if there is any decision to go with something different in the future, we'll work on it again then. :)

comment:10 Changed 6 years ago by planetcruiser

piwik is sort of secondary infrastructure, isn't it? should it go to cub or a new vm, so future load-balanced web instances could easily share it?

well, with mysql on the same box as apache we don't have a separation of services anyway at the moment. i am just thinking a little bit ahead towards more traffic. but we can cross that bridge when we get to it and say "build now, scale later" for now.. ;)

comment:11 Changed 6 years ago by jsfan

Sounds good to me. I'll set it up on cub for now and we can always move it later. :) Maybe BW-symfony will be running on a different VM, anyway? ;)

comment:12 Changed 6 years ago by jsfan

Piwik is up and running on http://www.bewelcome.org/piwik. We will now have to add tracking code.

This could be Javascript based

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.bewelcome.org/piwik/" : "http://www.bewelcome.org/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://www.bewelcome.org/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->

or an image

<!-- Piwik Image Tracker -->
<img src="https://www.bewelcome.org/piwik/piwik.php?idsite=1&amp;rec=1" style="border:0" alt="" />
<!-- End Piwik -->

Which one do we want? Should we create a new ticket for this and assign it to the next milestone?

comment:13 Changed 6 years ago by planetcruiser

this depends on what kind of information kasper wants to see. for referrers the image (my preference) should be sufficient. the js include will give more details about screen sizes etc. but do we want/need this?

and yes, ticket for the next milestone is the process, so we make sure to announce it etc.

comment:14 Changed 6 years ago by jsfan

  • Resolution set to fixed
  • Status changed from assigned to closed

Created new ticket #1753.

comment:15 Changed 6 years ago by jsfan

  • Milestone changed from 1.1 to 1.0-sec
Note: See TracTickets for help on using tickets.