lib/analytical.rb in analytical-1.9.0 vs lib/analytical.rb in analytical-2.0.0
- old
+ new
@@ -38,9 +38,10 @@
:ssl => request.ssl?
})
if options[:disable_if].call(self)
options[:modules] = options[:development_modules]
end
+ options[:session] = session if options[:use_session_store]
if analytical_is_robot?(request.user_agent)
options[:modules] = []
end
Analytical::Api.new options
end