analytics: add google analytics

This commit is contained in:
Ben Spoon 2016-08-16 11:35:39 -07:00
parent de9be6e993
commit a706901405
3 changed files with 19 additions and 1 deletions

View file

@ -209,6 +209,7 @@ def render_page_template(name, route_data=None, **kwargs):
mixpanel_key=app.config.get('MIXPANEL_KEY', ''),
munchkin_key=app.config.get('MUNCHKIN_KEY', ''),
google_tagmanager_key=app.config.get('GOOGLE_TAGMANAGER_KEY', ''),
google_anaytics_key=app.config.get('GOOGLE_ANALYTICS_KEY', ''),
sentry_public_dsn=app.config.get('SENTRY_PUBLIC_DSN', ''),
is_debug=str(app.config.get('DEBUGGING', False)).lower(),
show_chat=features.SUPPORT_CHAT,