Private
Public Access
1
0

added Google Analytics

This commit is contained in:
Sander Roosendaal
2017-03-28 07:53:46 +02:00
parent d8c5454ac4
commit a13bed1205
5 changed files with 44 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
"""
Django settings for rowsandall_app project.
@@ -103,10 +104,11 @@ TEMPLATES = [
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.core.context_processors.request',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.i18n',
'context_processors.google_analytics',
],
# 'loaders': [
# 'django.template.loaders.app_directories.Loader',
@@ -325,6 +327,9 @@ SWAGGER_SETTINGS = {
CLICKY_SITE_ID = CFG['clicky_site_id']
GOOGLE_ANALYTICS_PROPERTY_ID = CFG['google_analytics_id']
GOOGLE_ANALYTICS_DOMAIN = CFG['google_analytics_domain']
TWEET_ACCESS_TOKEN_KEY = CFG['tweet_access_token_key']
TWEET_ACCESS_TOKEN_SECRET = CFG['tweet_access_token_secret']
TWEET_CONSUMER_KEY = CFG['tweet_consumer_key']