Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A reusable Django app that sends google analytics report by email.

Project Description

A reusable Django app that sends google analytics report by email.


To get the latest stable release from PyPi

$ pip install django-ga-mail

To get the latest commit from GitHub

$ pip install -e git+git://

Add ga_mail to your INSTALLED_APPS


Specify next variables in settings:

GA_PROFILE_ID = 12345678
# don't use your working account here,
# create another one for analytics and give it access to ga profile
GA_PASSWORD = 'somepass'

Check that MANAGERS variable contains necessary emails.

Available blocks:

  • returning_visitors_7days_today
  • new_visitors_7days_today
  • new_visitors_30days_today
  • new_visitors_7days_today_vs_14days_7days
  • new_visitors_7days_today_vs_returning_visitors_7days_today
  • pageviews_7days_today

Call python ga_mail to send analytics report.


If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
$ virtualenv .env --no-site-packages
$ source .env/bin/activate
$ python install
$ pip install -r test_requirements.txt

$ git co -b feature_branch master
# Implement your feature and tests
$ git add . && git commit
$ git push -u origin feature_branch
# Send us a pull request for your feature branch
Release History

Release History

History Node


This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-ga-mail-0.2.1.tar.gz (7.5 kB) Copy SHA256 Checksum SHA256 Source Aug 17, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting