Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Custom analytics client for Django projects.

Project description

# Django Analytics client

django-analytics-client is a Django app used to send server side analytics to the Funkbit analytics backend using Celery.

This is an early draft and work in progress.

## Installation

Install django-analytics-client (available on PyPi):

pip install django-analytics-client

## Configuration

The following settings needs to be defined in your settings.py:

  • ANALYTICS_USERNAME (Analytics service username.)
  • ANALYTICS_PASSWORD (Analytics service password.)
  • ANALYTICS_SITE_ID (The analytics site id we collect data for.)
  • ANALYTICS_HOST (The hostname for the analytics service.)
  • ANALYTICS_PORT (The port number for the analytics service.)
  • ANALYTICS_ENABLED (Disable or enable analytics reporting.)

## Usage

Some examples:

  • Middleware example in middleware.py
  • Generic example in sample.py
  • Celery tasks in tasks.py

Project details


Release history Release notifications

This version
History Node

0.3.0

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-analytics-client-0.3.0.tar.gz (6.7 kB) Copy SHA256 hash SHA256 Source None Mar 17, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page