diff options
Diffstat (limited to 'pergamon')
-rw-r--r-- | pergamon/settings/base.py | 2 | ||||
-rw-r--r-- | pergamon/settings/local.py.sample | 1 | ||||
-rw-r--r-- | pergamon/templates/base.html | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/pergamon/settings/base.py b/pergamon/settings/base.py index 4ea32bc..e79c99e 100644 --- a/pergamon/settings/base.py +++ b/pergamon/settings/base.py @@ -185,3 +185,5 @@ WAGTAIL_CONTENT_LANGUAGES = LANGUAGES = [ ('en', "English"), ] +PERGAMON_TRACKING_CODE = "" + diff --git a/pergamon/settings/local.py.sample b/pergamon/settings/local.py.sample index f595369..771ffc8 100644 --- a/pergamon/settings/local.py.sample +++ b/pergamon/settings/local.py.sample @@ -1,6 +1,7 @@ EXTRA_APP = "" # add your own extra app LANGUAGE_CODE = "fr-fr" +PERGAMON_TRACKING_CODE = "" SECRET_KEY = "" # put a random string BASE_URL = "" # put the website url (with http) diff --git a/pergamon/templates/base.html b/pergamon/templates/base.html index 08fd9e7..2b8ff90 100644 --- a/pergamon/templates/base.html +++ b/pergamon/templates/base.html @@ -84,5 +84,6 @@ {% block extra_js %} {# Override this in templates to add extra javascript #} {% endblock %} + {{ tracking_code }} </body> </html> |