Remove analytics tracking on search distance

This commit is contained in:
Michael Hall 2018-06-22 14:32:06 -04:00
parent 45d2a54872
commit 8edfa1c3ee

View file

@ -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