- added funnel endpoints
- fixed missing regions parameter for filter
- added missing event metadata field
- added regional statistics
- removed DNT
- updated dependencies
This update contains breaking changes!
- added tags to page views and filter
- added multi-parameter filters
- added reading tag statistics
- added new conversion rate and custom metric fields
- added missing event meta, timezone, offset, sort, direction, and search fields in filter
- removed screen_width and screen_height from filter
- added optional client hint headers
- added structured logging using
log/slog
- removed DNT
- changed package structure
- fixed options to extend sessions
- upgraded Go version to 1.21
- updated dependencies
- added configuration options for request timeout and retries
- set default timeout to 5 seconds
- wait at least one second before retrying a request
- removed hostname from configuration
- upgraded to Go 1.20
- updated dependencies
- removed IP headers
- updated dependencies
- added single access token that don't require to query an access token using oAuth
- updated dependencies
- added more options to hit and event options
- fixed conversion goal return type
- added hourly visitor statistics, listing events, os and browser versions
- added filter options
- updated return types with new and modified fields
- improved error messages
- added endpoint for total visitor statistics
- added endpoint to extend sessions
- added entry page statistics
- added exit page statistics
- added number of sessions to referrer statistics
- added city statistics
- added entry page, exit page, city, and referrer name to filter
- added method to send events
- added reading event statistics
- fixed filter parameters to read statistics
- added
source
andutm_source
to referrers - added methods to read statistics
- updated dependencies
- added screen width and height to
Hit
- improved refresh mechanism with wait time and ignoring obsolete requests
- fixed refreshing token on first request
- fixed refreshing token more often than needed
- added missing DNT (do not track) header
- removed deprecated package io/ioutil, the minimum Go version is now 1.16
Initial release.
- fixed 502 error and refreshing token
- added logger to
ClientConfig
- hack to get around 502 responses for now
- fixed reading referrer from request
This is the first release for the Pirsch beta. The first version only includes sending hits to Pirsch. We will keep adding functionality.