From 45d2a548723ddd0d56b2b882a660fe9739c851a2 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Fri, 22 Jun 2018 14:30:01 -0400 Subject: [PATCH] Fix broken simple_ga javascript --- simple_ga/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_ga/middleware.py b/simple_ga/middleware.py index 5c91100..2fc2e08 100644 --- a/simple_ga/middleware.py +++ b/simple_ga/middleware.py @@ -11,7 +11,7 @@ class GAEvent: def gtag(self): return mark_safe( - "gtag('event', '%(action)s', {'event_category' : '%(category)s', 'event_label' : '%(label)s' }, 'event_value' : '%(value)s' });" % { + "gtag('event', '%(action)s', {'event_category' : '%(category)s', 'event_label' : '%(label)s' , 'event_value' : '%(value)s' });" % { 'action': self.action, 'category': self.category, 'label': self.label,