Skip to content

Commit

Permalink
Migrate GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
Neill Turner committed Jan 2, 2025
1 parent 8dca2ee commit 5defb72
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config/initializers/dfe_analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@
# enable analytics. You might want to hook this up to a feature flag or
# environment variable.
#
config.enable_analytics = proc { Rails.env.production? || Rails.env.development? }
config.user_identifier = proc { |user| user&.sub }
# config.enable_analytics = proc { Rails.env.production? || Rails.env.development? }
# config.user_identifier = proc { |user| user&.sub }
config.enable_analytics = proc { Rails.env.production? }

# Enable entity table check job
#
config.entity_table_checks_enabled = true

# The environment we’re running in. This value will be attached
# to all events we send to BigQuery.
Expand Down

0 comments on commit 5defb72

Please sign in to comment.