HumanityOnline / MyRefuge

http://myrefuge.world/
4 stars 1 forks source link

should add google analytics #14

Closed hoatle closed 9 years ago

hoatle commented 9 years ago

to track to optimize

hoatle commented 9 years ago
[10/5/15, 9:03:04 PM] Sholi Loewenthal: ok here is a tracking script from Google Analytics 

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-44972651-2', 'auto');
  ga('send', 'pageview');

</script>
[10/5/15, 9:03:33 PM] Sholi Loewenthal: here is the Tracking ID - if you need it: UA-44972651-2
[10/5/15, 9:07:25 PM] Sholi Loewenthal: i added you to the analytics account as an editor
hoatle commented 9 years ago

should use this: https://pythonhosted.org/django-analytical/services/google_analytics.html

hoatle commented 9 years ago

google analytics installed, done

hoatle commented 9 years ago

there are lots of tracking services could be used, when we need, just configure and it should be done.

https://pythonhosted.org/django-analytical/services.html