View Source SauceAnalytics.Store.Session (sauce_analytics v0.1.1)

This struct represents a session obtained from the Store.

fields

Fields

  • :sid - The id of the session.
  • :uid - The id of the user. Can be nil.
  • :user_agent - The user agent of the client's web browser.
  • :view_sequence - The number of times that track_visit has been called.
  • :event_sequence - The number of times that track_event has been called.
  • :last_modified - The unix timestamp of when the session was last modified.

Link to this section Summary

Link to this section Types

@type t() :: %SauceAnalytics.Store.Session{
  event_sequence: integer(),
  last_modified: integer(),
  sid: reference(),
  uid: String.t(),
  user_agent: String.t(),
  view_sequence: integer()
}