lib/sojourn/configuration.rb in sojourn-0.1.1 vs lib/sojourn/configuration.rb in sojourn-1.0.0.pre
- old
+ new
@@ -1,8 +1,9 @@
require_relative 'session_stores/cookie'
class Configuration
+
attr_accessor :campaign_params
attr_accessor :session_store
attr_accessor :cookie_name
attr_accessor :tracking_enabled
attr_accessor :default_properties_block
@@ -21,6 +22,7 @@
self.campaign_params = [:utm_source, :utm_medium, :utm_term, :utm_content, :utm_campaign]
self.session_store = Sojourn::SessionStores::Cookie
self.cookie_name = :_sojourn
self.tracking_enabled = true
end
+
end