This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
Version 1.5.1 of the Chrome Platform Analytics library
·
41 commits
to master
since this release
- Using filters, clients can now intercept, modify, and cancel hits. This replaces the old
EventTarget
support provided in previous version of the library with a general purpose API.
In extras...BuilderMania!
analytics.EventBuilder
provides, among many nifty things, a convenient way of creating hits (statically), and for adding custom dimensions and metrics to your hits. The builder has the fun-usual property of being immutable (thanks to Erik Hilsdale for the 10 year old tip).analytics.filters.FilterBuilder
provides a convenience class allowing clients to easily match hits with specific properties to filter functions.analytics.filters.EventLabelerBuilder
provides auto-bucketing of event labels based on their values. This can be useful for non-timing hits where you want to see dispersion of values across specific ranges.
See changelog since 1.4.0 for a full list of changes.