You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
Descriptive summary
This describes how to setup the new Hyrax analytics configuration. Analytics are temporarily turned off in this PR to avoid exceptions being thrown.
How analytics are turned off
Analytics is temporarily turned off by setting
config.analytics = false
in/config/initializers/hyrax.rb
.Before turning on
The following ENV variables need to be setup for use in
/config/analytics.yml
:To turn on
Remove
config.analytics
andconfig.google_analytics_id
from/config/initializers/hyrax.rb
to avoid conflict with new configuration.Set
ENV['HYRAX_ANALYTICS'] = true
to turn analytics back on.Related work
PR #402 update to latest hyrax (includes save default admin set id & new analytics)
The text was updated successfully, but these errors were encountered: