This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Jmbo Analytics

Jmbo analytics brings the power of Google Analytics to your Django projects

Required

  • You have to add jmbo_analytics to you INSTALLED_APPS
  • You have to specify a Google Analytics tracking code.

where xxx is your tracking code:

JMBO_ANALYTICS = {
   'google_analytics_id': 'xxx',
}

Usage

jmbo-analytics offers you two ways to add tracking to your pages.

1. HTML tag

Using <img /> and putting it in your base.html:

{% load jmbo_analytics_tags %}
<div style="display: none;">
   <img src="{% google_analytics %}" width="0" height="0" />
</div>

2. Middleware and Celery

Using Django’s middleware you can process every request and use Celery to make the request to Google Analytics. Note that this does not work behind a reverse caching proxy:

MIDDLEWARE_CLASSES = (
   'jmbo_analytics.middleware.GoogleAnalyticsMiddleware',
)

You may have to add jmbo_analytics to your CELERY_IMPORTS:

CELERY_IMPORTS = ('jmbo_analytics.tasks')

You may also specify paths that will be excluded when tracking:

GOOGLE_ANALYTICS_IGNORE_PATH = ['/health/', ]

Authors

Praekelt Consulting

  • Hedley Roos

Unomena

  • Euan Jonker

Changelog

0.2.2

  1. Fixed incorrect header key.

0.2.1

  1. Send correctly named header.

0.2

  1. Use requests library because it can drill through HTTP proxies.

0.1

  1. Simplify dependencies.
  2. Make transparent GIF method asynchronous.

0.0.4

  1. Better packaging.

0.0.3

  1. Fork, rename, re-license from panomena-analytics.
Release History

Release History

0.2.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jmbo_analytics-0.2.2-py2.7.egg (17.5 kB) Copy SHA256 Checksum SHA256 2.7 Egg Sep 2, 2016
jmbo-analytics-0.2.2.tar.gz (11.0 kB) Copy SHA256 Checksum SHA256 Source Sep 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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