Skip to main content

Server-side analytics

Project description

Tracker

Tracker is a python package, that can be integrated into any django project as middleware. It asynchronously intercepts requests and sends metric data to our backend

Editing settings

To make Tracker work properly, settings.py file should be modified

  • Add the following line to the MIDDLEWARE (after all django middlewares:
'rigidanalytics.middleware.Analytics',
  • Add the following dict that configures Tracker
RIGID_ANALYTICS = {
    'PROJECT_ID': '<id of your project>',
    'PROJECT_TOKEN': '<your project token>',
    'DEBUG_DISABLE_ANALYTICS': '<bool>',
    'BACKEND_ENDPOINT': '<custom endpoint, do not specify to use default>',
}

Project details


Download files

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

Files for rigidanalytics-tracker-test, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size rigidanalytics_tracker_test-0.0.1-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rigidanalytics_tracker_test-0.0.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page