Ember Metrics Versions Save

Send data to multiple analytics integrations without re-implementing new API

v0.16.0

3 years ago

This aims to be the lacks version before 1.0.0.

Features

Fix

Changed

v0.15.0

3 years ago

Please see CHANGELOG.md for details.

0.5.3

8 years ago

This patch releases fixes a minor deprecation about the use of the container. Thanks to @rwjblue for assistance on this release.

0.5.2

8 years ago

This patch release fixes an issue where the addon would throw an error when it can't find config.metricsAdapters. Thanks to @jasonmit for the fix.

0.5.1

8 years ago

This patch release fixes a deprecation warning in the metrics initializer. Thanks to @XrXr for this PR.

0.5.0

8 years ago

This release includes an adapter for Segment.js and minor fixes.

Changelog
  • #45 GA nonInteraction field – @noslouch
  • #46 CSP documentation – @colinhoernig
  • #47 Force Google Analytics to use SSL for mobile ember apps – @cigoe
  • #49 Add Segment Adapter – @seanpdoyle

0.4.0

8 years ago

This release is a breaking one – mainly, the augmented link-to component has been removed. You should track an event by sending an action instead.

A new feature addition is the ability to select which environments an adapter is activated against. By default, your adapter will be active in all environments. To specify which, simply add an environments property to your configuration:

module.exports = function(environment) {
  var ENV = {
    metricsAdapters: [
      {
        name: 'GoogleAnalytics',
        environments: ['development', 'production'],
        config: {
          id: 'UA-XXXX-Y'
        }
      },
      {
        name: 'Mixpanel',
        environments: ['production']
        config: {
          token: '0f76c037-4d76-4fce-8a0f-a9a8f89d1453'
        }
      },
      {
        name: 'LocalAdapter',
        environments: ['all'] // default, equivalent to ['development', 'test', 'production'],
        config: {
          foo: 'bar'
        }
      }
    ]
  }
}