Skip to content

Snowplow Python Tracker v0.5.0

Compare
Choose a tag to compare
@alexanderdean alexanderdean released this 13 Aug 12:47
· 181 commits to master since this release

Harmonizes the Python Tracker's support for POST requests with the rest of Snowplow, but also makes its API more consistent.

Harmonization

  • Converted payload values to strings for POST requests (#100)
  • Set content type to "application/json; charset=utf-8" for POST requests (#99)
  • Changed collector endpoint for POST to /com.snowplowanalytics.snowplow/tp2 (#98)
  • Stopped setting and sending tid (#94)
  • Started setting and sending eid (#93)
  • Made the "name" argument of track_screen_view optional (#103)

New features

  • Allowed a single Tracker instance to send events to multiple Emitters (#91)

More consistent API

  • Started passing a list of dictionaries to the on_failure callback for POST requests (#104)
  • Made all tracker methods chainable (#105)
  • Stopped sending empty payloads (#106)