Fix to reduce analytics hits.

pull/684/head
Louis Vézina 5 years ago
parent cf36e8f3b6
commit d32b65e1e0

@ -52,7 +52,7 @@ def track_event(category=None, action=None, label=None):
try: try:
tracker.track_event(event, session, visitor) tracker.track_event(event, session, visitor)
tracker.track_pageview(page, session, visitor) # tracker.track_pageview(page, session, visitor) ## Commented because we were having too much hits on GA.
except: except:
pass pass
else: else:

Loading…
Cancel
Save