Sha256: 5f13d13e84ae2434b4d356c66ed5bb2e5662bf03feefd11bde9be540659a01f8
Contents?: true
Size: 984 Bytes
Versions: 17
Compression:
Stored size: 984 Bytes
Contents
class Visit include Mongoid::Document # associations belongs_to :user # required field :visitor_id, type: <%= @visitor_id_type %> # the rest are recommended but optional # simply remove the columns you don't want # standard field :ip, type: String field :user_agent, type: String field :referrer, type: String field :landing_page, type: String # traffic source field :referring_domain, type: String field :search_keyword, type: String # technology field :browser, type: String field :os, type: String field :device_type, type: String field :screen_height, type: Integer field :screen_width, type: Integer # location field :country, type: String field :region, type: String field :city, type: String # utm parameters field :utm_source, type: String field :utm_medium, type: String field :utm_term, type: String field :utm_content, type: String field :utm_campaign, type: String field :started_at, type: Time end
Version data entries
17 entries across 17 versions & 1 rubygems