15 lines
391 B
Ruby
15 lines
391 B
Ruby
|
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
|