• This documentation is for an old version of this tracker!
  • 2. General parameters
  • 2.1 Loading Snowplow.js
  • 2.2 Initialising a tracker
  • 2.2.1 Setting the application ID
  • 2.2.2 Setting the platform
  • 2.2.3 Configuring the cookie domain
  • 2.2.4 Configuring the cookie name
  • 2.2.6 Respecting Do Not Track
  • 2.2.7 User fingerprinting
  • 2.2.8 Setting the user fingerprint seed
  • 2.2.9 Setting the page unload pause
  • 2.2.10 Setting the event request protocol
  • 2.2.11 Altering cookies
  • 2.2.12 Configuring localStorage
  • 2.3 Other parameters
  • 2.3.1 Setting the user ID
  • 2.3.1.1 setUserId
  • 2.3.1.1 setUserIdFromLocation
  • 2.3.1.1 setUserIdFromReferrer
  • 2.3.1.1 setUserIdFromCookie
  • 2.3.2 Setting a custom URL with setCustomUrl
  • 2.3.4 Configuring cookie timeouts using setSessionCookieTimeout
  • 2.4 Setting onload callbacks
  • 2.5 Managing multiple trackers
  • 2.6 How the Tracker uses cookies
  • The session cookie
  • The ID cookie
  • The Clojure Collector cookie
  • 2.7 Getting the user ID from the Snowplow cookie
  • 2.8 How the Tracker uses localStorage