Skip to content

Commit

Permalink
Revert "Adding Hotjar Tracking ID Variable to studio and lms setting …
Browse files Browse the repository at this point in the history
…files" (#598)

This reverts commit ee0b0b1.

Co-authored-by: Anas Hameed <[email protected]>
  • Loading branch information
Anas-hameed and Anas-hmeed authored Nov 21, 2024
1 parent 59fe81f commit d8f7aaf
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions cms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2460,9 +2460,6 @@
FAVICON_URL = None
DEFAULT_EMAIL_LOGO_URL = 'https://edx-cdn.org/v3/default/logo.png'

# HOTJAR ANALYTICS
HOTJAR_TRACKING_ID = None

# MIXPANEL ANALYTICS PROJECT TOKEN
MIXPANEL_PROJECT_TOKEN = 'replace-me'

Expand Down
6 changes: 0 additions & 6 deletions cms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,6 @@ def get_env_setting(setting):
'queue': UPDATE_SEARCH_INDEX_JOB_QUEUE},
}

# HOTJAR ANALYTICS
HOTJAR_TRACKING_ID = ENV_TOKENS.get(
'HOTJAR_TRACKING_ID',
None
)

# MIXPANEL ANALYTICS PROJECT TOKEN
MIXPANEL_PROJECT_TOKEN = ENV_TOKENS.get(
'MIXPANEL_PROJECT_TOKEN',
Expand Down
3 changes: 0 additions & 3 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,9 +1212,6 @@ def _make_mako_template_dirs(settings):
GOOGLE_ANALYTICS_LINKEDIN = 'GOOGLE_ANALYTICS_LINKEDIN_DUMMY'
GOOGLE_ANALYTICS_TRACKING_ID = None

# HOTJAR ANALYTICS
HOTJAR_TRACKING_ID = None

# MIXPANEL ANALYTICS PROJECT TOKEN
MIXPANEL_PROJECT_TOKEN = 'replace-me'

Expand Down
6 changes: 0 additions & 6 deletions lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,12 +667,6 @@ def get_env_setting(setting):
GOOGLE_ANALYTICS_LINKEDIN = AUTH_TOKENS.get('GOOGLE_ANALYTICS_LINKEDIN')
GOOGLE_SITE_VERIFICATION_ID = ENV_TOKENS.get('GOOGLE_SITE_VERIFICATION_ID')

# HOTJAR ANALYTICS
HOTJAR_TRACKING_ID = ENV_TOKENS.get(
'HOTJAR_TRACKING_ID',
None
)

# MIXPANEL ANALYTICS PROJECT TOKEN
MIXPANEL_PROJECT_TOKEN = ENV_TOKENS.get(
'MIXPANEL_PROJECT_TOKEN',
Expand Down
1 change: 0 additions & 1 deletion openedx/features/edly/context_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def edly_app_context(request): # pylint: disable=unused-argument
'footer_url': marketing_link('FOOTER'),
'gtm_id': configuration_helpers.get_value('GTM_ID'),
'ga_id': configuration_helpers.get_value('GA_ID'),
'hotjar_id': settings.HOTJAR_TRACKING_ID,
'mixpanel_project_token': settings.MIXPANEL_PROJECT_TOKEN,
'usetiful_token': settings.USETIFUL_TOKEN,
'is_mobile_app': is_request_from_mobile_app(request)
Expand Down

0 comments on commit d8f7aaf

Please sign in to comment.