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.

Source Distribution

rigidanalytics_tracker_test-0.0.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

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