diff options
Diffstat (limited to 'app/controllers/users/terms_controller.rb')
-rw-r--r-- | app/controllers/users/terms_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/users/terms_controller.rb b/app/controllers/users/terms_controller.rb index f7eb2aad9dc..f36b140f3a2 100644 --- a/app/controllers/users/terms_controller.rb +++ b/app/controllers/users/terms_controller.rb @@ -4,6 +4,7 @@ module Users class TermsController < ApplicationController include InternalRedirect include OneTrustCSP + include GoogleAnalyticsCSP skip_before_action :authenticate_user!, only: [:index] skip_before_action :enforce_terms! @@ -13,6 +14,10 @@ module Users before_action :terms + before_action only: [:index] do + push_frontend_feature_flag(:gitlab_gtm_datalayer, type: :ops) + end + layout 'terms' feature_category :user_management |