diff --git a/app/views/_ga.html.erb b/app/views/_ga.html.erb new file mode 100644 index 0000000..77b453e --- /dev/null +++ b/app/views/_ga.html.erb @@ -0,0 +1,13 @@ + +<% if !Rails.env.development? %> + + + + +<% end %> diff --git a/config/initializers/hyrax.rb b/config/initializers/hyrax.rb index e22d843..c303602 100644 --- a/config/initializers/hyrax.rb +++ b/config/initializers/hyrax.rb @@ -50,7 +50,7 @@ # Google Analytics tracking ID to gather usage statistics # Only add the ID on production if Rails.env == "production" - config.google_analytics_id = 'UA-93701167-5' + config.google_analytics_id = 'G-6QL7MDR1HQ' end # Date you wish to start collecting Google Analytic statistics for