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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page