lib/landable/traffic/tracker.rb in landable-1.10.0.rc2 vs lib/landable/traffic/tracker.rb in landable-1.11.0
- old
+ new
@@ -119,9 +119,13 @@
def landing_path
@visit_id and PageView.where(visit_id: @visit_id).order(:page_view_id).first.try(:path)
end
+ def get_user_agent
+ user_agent
+ end
+
protected
def cookies
request.cookie_jar
end