DevProgress / csv-simple-search

Generic Search and Export Tool for .csv files
Apache License 2.0
6 stars 3 forks source link

Add analytics to our page? #68

Closed decause closed 7 years ago

decause commented 8 years ago

@phildini checking to see if we ever deployed piwik? If not, we can use the same Google Analytics that BradyK helped to set up?

For now, I have a piwik instance we can start with:

<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(["setDomains", ["*.devprogress.us/csv-simple-search"]]);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//piwik-decause.rhcloud.com/";
    _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-decause.rhcloud.com/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<!-- Piwik Image Tracker-->
<img src="http://piwik-decause.rhcloud.com/piwik.php?idsite=5&rec=1" style="border:0" alt="" />
<!-- End Piwik -->
phildini commented 8 years ago

We've never gotten piwik set up to my knowledge. I highly recommend GA as a starting point.

jillh510 commented 7 years ago

Is this still to be done? If so, does someone own it, or should it be "help wanted"?