Skip to content

An implementation of the Google Analytics for Mobile in python. Includes a literal translation of ga.php and a FLUP server wrapper for the GIF image serving, as well as template tags for Django.

thanethomson/google-analytics-mobile-django-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package includes:

1) A direct translation of ga.py to ga.php.  You can probably integrate this into your own setup by importing 'track_page_view' and providing it with the appropriate WSGI request environment.  (From Django, you could probably pass in request.META directly, for example...)

2) A FLUP based FastCGI implementation in ga_mobile_server.py.  Set up nginx or Apache to call this

3) A startup script for the FLUP server in ga_mobile.  

About

An implementation of the Google Analytics for Mobile in python. Includes a literal translation of ga.php and a FLUP server wrapper for the GIF image serving, as well as template tags for Django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published