Releases: adopted-ember-addons/ember-metrics
[BUGFIX] Mutating things is painful
This release fixes an issue where repeated calls to the metrics service would mutate context
, leading to unexpected behavior.
Thanks to @opsb for reporting and fixing this!
Backwards compatibility
With this release, ember-metrics
now works with ember versions of 1.11.x
and up!
Context is everything
This release adds the ability to include context to each service call. For example, you might want to include certain information about the user that is triggering the event or page view. You can now specify a context
object on the Metrics service itself, that will be included across all calls.
For example:
const currentUserName = Ember.get(this, 'currentUser.fullName'); // 'Derek Zoolander'
Ember.set(this, 'metrics.context.userName', currentUserName);
Ember.get(this, 'metrics').trackPage({ page: 'page/1' }); // { userName: 'Derek Zoolander', page: 'page/1' }
Thanks to @opsb for implementing this feature.
[BUGFIX] Configuration
This release fixes a bug where your app would immediately break due to config:metrics
being undefined.
[BUGFIX] Prioritize local adapters
This bugfix release addresses an issue where a local adapter would not be prioritized over an available adapter in the addon, making it difficult to override existing adapters.
Bugfix
This release adds the Google Tag Manager adapter, and fixes a bug with blueprints generating with an incorrect import statement.
Changelog
#12 Added google tag manager adapter and test @bl4ckm0r3
#18 Fix blueprint typo – @davidgovea
More bugfixes
This bugfix releases fixes an issue where the service would not invoke methods when no arguments were passed into it.
Bugfix
First release
The first release ships with the Google Analytics and Mixpanel adapters.
Alpha release
The first alpha release of this addon ships with an adapter for Google Analytics.