From 8edfa1c3ee12a88ffe0ed8ea172ea97d2a971adf Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Fri, 22 Jun 2018 14:32:06 -0400 Subject: [PATCH] Remove analytics tracking on search distance --- get_together/views/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/get_together/views/__init__.py b/get_together/views/__init__.py index 96ccdff..4b514f0 100644 --- a/get_together/views/__init__.py +++ b/get_together/views/__init__.py @@ -47,8 +47,6 @@ def home(request, *args, **kwards): near_distance = int(request.GET.get("distance", DEFAULT_NEAR_DISTANCE)) context['distance'] = near_distance - if "distance" in request.GET and request.GET.get("distance"): - ga.add_event(request, 'homepage_search', category='search', label='distance', value=near_distance) city=None ll = None