class Ahoy::Store < Ahoy::DatabaseStore end # set to true for JavaScript tracking Ahoy.api = true # set to true for geocoding (and add the geocoder gem to your Gemfile) # we recommend configuring local geocoding as well # see https://github.com/ankane/ahoy#geocoding Ahoy.geocode = false Ahoy.visit_duration = 30.minutes Ahoy.server_side_visits = :when_needed RETENTION_PERIOD = 3.months