Skip to main content

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


Download files

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

Source Distribution

django-analytics-client-0.3.0.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file django-analytics-client-0.3.0.tar.gz.

File metadata

File hashes

Hashes for django-analytics-client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 33c98ba2efd2fb0c0b44b30513ad1ca81fdd280bc5c26c73d54d165f960622a0
MD5 55f080a50497703e7608903275d90dd5
BLAKE2b-256 7c1f172c4d658f96cb619bf41d831b3c31f98a5eaf277213d30bbaaa0f722d24

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page