Django helpers for analytics-python module