From 2d5f8dd220a40a588d2d16f6271f56df579ea1a5 Mon Sep 17 00:00:00 2001 From: Sid Mitra Date: Thu, 4 Oct 2012 09:36:09 +0530 Subject: [PATCH] Upgrading mixpanel js script code to v2.1 --- analytical/templatetags/mixpanel.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/analytical/templatetags/mixpanel.py b/analytical/templatetags/mixpanel.py index d590f78..5c12bbc 100644 --- a/analytical/templatetags/mixpanel.py +++ b/analytical/templatetags/mixpanel.py @@ -16,9 +16,10 @@ from analytical.utils import is_internal_ip, disable_html, get_identity, \ MIXPANEL_API_TOKEN_RE = re.compile(r'^[0-9a-f]{32}$') TRACKING_CODE = """ """ IDENTIFY_CODE = "mixpanel.register_once({distinct_id: '%s'});"