Fix broken simple_ga javascript

This commit is contained in:
Michael Hall 2018-06-22 14:30:01 -04:00
parent 0690e3241e
commit 45d2a54872

View file

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