• This documentation is for an old version of this tracker!
  • Contents
  • 1. Overview
  • 2 Initialization
  • 2.1 Importing the module
  • 2.2 Creating a tracker
  • 2.3 Creating multiple trackers
  • 3. Configuration
  • 3.1 Configuring your tracker
  • 3.1.1 Change the tracker"s platform with set_platform()
  • 3.1.2 Disable Base64-encoding with set_base64_to()
  • 3.2 Adding extra data
  • 3.2.1 Set application ID with setAppId()
  • 3.2.2 Set user ID with set_user_id()
  • 3.2.3 Set screen resolution with set_screen_resolution()
  • 3.2.4 Set viewport dimensions with set_viewport()
  • 3.2.5 Set color depth with set_color_depth()
  • 3.2.6 Set the language with set_lang()
  • 4. Tracking specific events
  • 4.1 Common
  • 4.1.1 Argument validation
  • 4.1.2 Optional timestamp argument
  • 4.2 Track screen views with track_screen_view()
  • 4.3 Track pageviews with track_page_view()
  • 4.4 Track ecommerce transactions with track-ecommerce-transaction()
  • 4.5 Track ecommerce transactions with track_ecommerce_transaction_item()
  • 4.6 Track structured events with track_struct_event()
  • 4.7 Track unstructured events with track_unstruct_event()
  • 4.7.1 Supported datatypes
  • 4.7.1.1 Null
  • 4.7.1.2 String
  • 4.7.1.3 Boolean
  • 4.7.1.4 Integer
  • 4.7.1.5 Floating point
  • 4.7.1.5 Geo-coordinates
  • 4.7.1.6 Date