Use this url: https://eventmetrics.wmflabs.org/
Description
Event Timeline
Tracking code:
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//piwik.wikimedia.org/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '19']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })();
</script>
<!-- End Matomo Code -->
@MusikAnimal you just need to add above beacon to all your pages in grant metrics site. This will send data to our piwik matomo instance in prod.
It will give you access to a dashboard like (example is actually wikistats dashboard):
Geographical location is based on user's language so actually not very accurate but better than nothing.
Thanks for creating this task, and getting this set up for us! I will get Event Metrics updated shortly.
Code is merged, but not yet deployed. I'm going to leave this in our "In Development" column until we verify it's working.
@Nuria We have deployed to production. I can see in the network log that requests are being made to piwik.wikimedia.org. How shall we proceed? :)
Confirmed with @MusikAnimal that he can see usage dashboard cc @jmatazzoni Closing ticket