Auto Analytics Versions Save

UNMAINTAINED! - Complete Google Analytics, Mixpanel, KISSmetrics (and more) integration for JavaScript applications.

v2.0.0

6 years ago

Changed

  • BREAKING: No longer bundling vendor analytics.min.js with our package. You must now create your own analytics.min.js file. Please refer to README for instructions on how to build your own analytics integration bundle.
  • BREAKING: Default function is no longer exported. Replaced with initAnalytics(). You must import as follows: import { initAnalytics } from '@okgrow/auto-analytics'.
  • initAnalytics() now expects a single object param which contains analytics.js, segment's integrations & options, and autorun. e.g - initAnalytics({ analytics, integrations, options, autorun }). Please refer to README for more details.
  • Example updated with only the Google Analytics and Mixpanel integrations bundled in analytics.min.js.
  • Rollup.js is now used for bundling the auto-analytics package instead of a custom babel script.
  • .babelrc now has a build & test config.
  • .npmignore has been removed and files: ['dist'] has been added to package.json instead.

v1.0.6

6 years ago

Fixed

  • Ensure that any existing state is copied across when we use replaceState() in logFirstPageLoad(). More details -> PR #19

v1.0.5

6 years ago

Fixed

  • Handle missing state when setting referrer. More details -> #16

v1.0.4

6 years ago

Fixed

  • Don't include Fragment Identifier (e.g - #foo ) in our document.referrer. Fixes #14

Updated

  • Update analytics.min.js to latest released version

v1.0.3

6 years ago

Fixed

  • Referrer will now correctly reference the original referrer when browsers back/fwd buttons are used.
  • Title & Name will will not be from the previous route when packages like react-helmet, or react-document-title, etc... are used to set the document.title.

v1.0.2

6 years ago