diff --git a/get_together/templates/get_together/base.html b/get_together/templates/get_together/base.html index dc2fec3..aa03b60 100644 --- a/get_together/templates/get_together/base.html +++ b/get_together/templates/get_together/base.html @@ -17,6 +17,7 @@ gtag('js', new Date()); gtag('config', '{{settings.GOOGLE_ANALYTICS_ID}}'); + {% block extra_google_analytics %}{% endblock %} {% endif %} diff --git a/get_together/templates/get_together/events/create_event.html b/get_together/templates/get_together/events/create_event.html index eaf1d6c..7c63813 100644 --- a/get_together/templates/get_together/events/create_event.html +++ b/get_together/templates/get_together/events/create_event.html @@ -1,5 +1,9 @@ {% extends "get_together/base.html" %} +{% block extra_google_analytics %} + gtag('config', '{{settings.GOOGLE_ANALYTICS_ID}}', {'page_path': '/team/+create-event/'}); +{% endblock %} + {% block content %}