Add support for GA at least for the initial page load.

This commit is contained in:
Jake Moshenko 2014-08-07 20:44:59 -04:00
parent 1c3eca6fc9
commit 5d4a6fc279
2 changed files with 15 additions and 0 deletions

View file

@ -175,6 +175,7 @@ def render_page_template(name, **kwargs):
feature_set=json.dumps(features.get_features()),
config_set=json.dumps(getFrontendVisibleConfig(app.config)),
mixpanel_key=app.config.get('MIXPANEL_KEY', ''),
google_analytics_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.OLARK_CHAT,