GithubHelp home page GithubHelp logo

Comments (8)

xamanu avatar xamanu commented on August 24, 2024

I use Piwik for most of my websites and it is a great tool. You can even be nice to your visitors and not save their IP addresses forever. And it is not a great thing to maintain it. The stats are not automatically public, this is a more political decision to make.

from hotosm-website.

xamanu avatar xamanu commented on August 24, 2024

@dodobas Would it be possible to set up a Piwik instance in some part of our nice server space?

from hotosm-website.

dodobas avatar dodobas commented on August 24, 2024

we already have it setup... piwik.hotosm.org ... this is the tracking code for the hotosm.org web

I would suggest to run both piwik and GA in parallel for a while

<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//piwik.hotosm.org/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 5]);
    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>
<noscript><p><img src="//piwik.hotosm.org/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->

from hotosm-website.

xamanu avatar xamanu commented on August 24, 2024

I just added the code. Both, Piwik and GA, are active for now. Once we see stats coming in through Piwik we can disable GA. So leaving this open, until then.

from hotosm-website.

xamanu avatar xamanu commented on August 24, 2024

Seems to work properly: http://piwik.hotosm.org/index.php?module=CoreHome&action=index&date=yesterday&period=day&idSite=5#/module=Dashboard&action=embeddedIndex&date=yesterday&period=day&idSite=5&idDashboard=1

Any reason why not to disable Google Analytics tracking, @dodobas? Or shall I proceed?

from hotosm-website.

russdeffner avatar russdeffner commented on August 24, 2024

I would suggest if it isn't a problem to run both until next Tech WG meeting, then maybe a more 'formal' decision to disable GA.

from hotosm-website.

xamanu avatar xamanu commented on August 24, 2024

Not just, last tech meeting it was common sense in the techweg to switch over to Piwik. I've heard nobody arguing in favour of GA. So, why wait for one entire month? We just have to check if this is working and then we can switch it off in my opinion.

Please, let's get things done.

from hotosm-website.

xamanu avatar xamanu commented on August 24, 2024

As suggested I consulted the tech working group and got no objections. Google Analytics is now down and code removed.

from hotosm-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.