-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISSUE-467: Add google analytics (#468)
Co-authored-by: Tomas Zulberti <[email protected]>
- Loading branch information
1 parent
b8249f1
commit 8a29dc5
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
def pyar_wiki_url(request): | ||
from django.conf import settings | ||
# return the value you want as a dictionnary. you may add multiple values in there. | ||
return {'PYAR_WIKI_URL': settings.PYAR_WIKI_URL} | ||
return { | ||
'PYAR_WIKI_URL': settings.PYAR_WIKI_URL, | ||
'GOOGLE_TRACKING_ID': settings.GOOGLE_TRACKING_ID, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,3 +224,5 @@ | |
'font-size', | ||
] | ||
TAGGIT_CASE_INSENSITIVE = True | ||
|
||
GOOGLE_TRACKING_ID = os.environ.get('GOOGLE_TRACKING_ID', '') |