Website Statistics - What should I use to have Google Analytics in Django?

57 views
Skip to first unread message

Andre Lopes

unread,
Nov 30, 2011, 3:25:34 PM11/30/11
to django...@googlegroups.com
Hi,

I need to track visitors with Google Analytics. What should I use to
get Google Analytics working on Django?

What is my best choice?

Best Regards,

Carlos Daniel Ruvalcaba Valenzuela

unread,
Nov 30, 2011, 3:30:45 PM11/30/11
to django...@googlegroups.com
A quick Google revealed that there is already a
django-google-analytics package, why not try to check it out?
otherwise you could as last resort just put their tracking code on
your master template and be done with it.

http://code.google.com/p/django-google-analytics/

Regards,
Carlos Ruvalcaba

william ratcliff

unread,
Nov 30, 2011, 3:55:45 PM11/30/11
to django...@googlegroups.com
Google gives you a small piece of javascript that you need to insert
into your pages to track them. So, all you need to do is to insert
that code into your templates...

> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

Sime Ramov

unread,
Nov 30, 2011, 3:48:19 PM11/30/11
to django...@googlegroups.com
* Andre Lopes <lopes8...@gmail.com> [2011-11-30 20:25+0000]:

> I need to track visitors with Google Analytics. What should I use to
> get Google Analytics working on Django?

Are you serious?

Gelonida N

unread,
Dec 1, 2011, 5:32:11 AM12/1/11
to django...@googlegroups.com

Out of curiousity:

Is there anything similiar which does work well in an intranet
environment or an environment, where one does not want to send data to a
third party server?


Daniel Roseman

unread,
Dec 1, 2011, 6:12:40 AM12/1/11
to django...@googlegroups.com


On Thursday, 1 December 2011 10:32:11 UTC, Gelonida N wrote:

Out of curiousity:

Is there anything similiar  which does work well in an intranet
environment or an environment, where one does not want to send data to a
third party server?


I've used django-request for this - it's very nice.
--
DR. 

Ivo Brodien

unread,
Dec 1, 2011, 6:15:37 AM12/1/11
to django...@googlegroups.com
>> Out of curiousity:
>
> Is there anything similiar which does work well in an intranet
> environment or an environment, where one does not want to send data to a
> third party server?

Not Django but Piwik (MySQL, PHP) can do this.

http://piwik.org/

Reply all
Reply to author
Forward
0 new messages