Skip to content

Commit

Permalink
chg: add google analytics iframe variable to jinja2.py and settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
larry6point6 committed Jan 27, 2025
1 parent 5455cf3 commit 4223cd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions django_app/redbox_app/jinja2.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def environment(**options):
"waffle_flag": waffle.flag_is_active,
"google_analytics_tag": settings.GOOGLE_ANALYTICS_TAG,
"google_analytics_link": settings.GOOGLE_ANALYTICS_LINK,
"google_analytics_iframe_src": settings.GOOGLE_ANALYTICS_IFRAME_SRC,
}
)
return env
1 change: 1 addition & 0 deletions django_app/redbox_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def filter_transactions(event):

GOOGLE_ANALYTICS_TAG = env.str("GOOGLE_ANALYTICS_TAG", " ")
GOOGLE_ANALYTICS_LINK = env.str("GOOGLE_ANALYTICS_LINK", " ")
GOOGLE_ANALYTICS_IFRAME_SRC = env.str("GOOGLE_ANALYTICS_IFRAME_SRC", " ")
# TEST_SSO_PROVIDER_SET_RETURNED_ACCESS_TOKEN = 'someCode'

REST_FRAMEWORK = {
Expand Down

0 comments on commit 4223cd6

Please sign in to comment.