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

Migrate to v2 Media for youtube-tracking plugin #1342

Closed jethron closed 1 month ago

jethron commented 2 months ago

This changes the YouTubeTrackingPlugin to utilize v2 Media Schemas. This is a breaking change, but I've tried to keep the API mostly compatible. To make the implementation neater for the custom entities, I've also made the base Media plugin accept context generators via tracker-core's DynamicContext support.

Other changes included:

See PE-5753

bundlemon[bot] commented 2 months ago

BundleMon

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

Total files change +104.88KB 0%

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history