snowplow / snowplow-javascript-tracker

Snowplow event tracker for client-side and server-side JavaScript. Add analytics to your websites, web apps and servers.
http://snowplowanalytics.com
BSD 3-Clause "New" or "Revised" License
555 stars 222 forks source link

Add appVersion configuration option to track a context entity with the application version #1373

Closed matus-tomlein closed 4 days ago

matus-tomlein commented 2 weeks ago

Adds the appVersion configuration option into the newTracker call that accepts a string application version and tracks it along with all events using the com.snowplowanalytics.snowplow/application/jsonschema/1-0-0 schema.

The schema is currently under review on Iglu Central: https://github.com/snowplow/iglu-central/pull/1419/files

bundlemon[bot] commented 2 weeks ago

BundleMon

Files added (6) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | trackers/javascript-tracker/dist/sp.js
| +24.45KB | 30KB / +10% :white_check_mark: | libraries/browser-tracker-core/dist/index.mod
ule.js
| +23.52KB | 25KB / +10% :white_check_mark: | libraries/tracker-core/dist/index.module.js
| +19.4KB | 20KB / +10% :white_check_mark: | trackers/browser-tracker/dist/index.umd.min.j
s
| +17.34KB | 20KB / +10% :white_check_mark: | trackers/javascript-tracker/dist/sp.lite.js
| +17.29KB | 20KB / +10% :white_check_mark: | trackers/browser-tracker/dist/index.module.js
| +3.49KB | 5KB / +10%

Total files change +105.48KB 0%

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history