Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Releases: MatteoGabriele/vue-analytics

v5.2.0

29 Oct 12:40
Compare
Choose a tag to compare

5.2.0 (2017-10-29)

Features

  • autotracking: add the transformRouteParams property (7453ace)
  • bootstrap: add config set array (7e48f05)

v5.1.1

19 Sep 14:33
Compare
Choose a tag to compare

5.1.1 (2017-09-19)

Bug Fixes

  • features: remove require function name (fb9b8ff)

v5.1.0

14 Sep 11:35
Compare
Choose a tag to compare

5.1.0 (2017-09-14)

Features

  • script-loader: add optional analytics script tag check (65a2bcc), closes #60

v5.0.1

13 Sep 12:03
Compare
Choose a tag to compare

5.0.1 (2017-09-13)

Bug Fixes

  • page: set is tracked twice (e0280bb)

5.0.0-beta.2

20 Aug 18:25
Compare
Choose a tag to compare
5.0.0-beta.2 Pre-release
Pre-release

Features

  • fields: this property add direct access to the options sent to create the trackers.
    Vue.use(VueAnalytics, {
       id: 'UA-223232323',
       fields: {
         userId: '123456',
         name: 'my-tracker'
       }
    })
  • untracked: the analytics script takes always a little bit more to load and sometimes you can fire an event before it's ready. Now all event fired before are stored and fired later on when google analytics is finally injected in the window object.

Breaking changes

  • user explorer: the userId is not longer editable in the root of the configuration object, because now is easy accessible within the fields object

    Vue.use(VueAnalytics, {
       id: 'UA-223232323',
       fields: {
         userId: '123456'
       }
    })
  • onReady: the callback name in the plugin options is not more onReady but just ready

  • onAnalyticsReady: since the untracked feature, mounting your app after analytics is ready is not longer needed, but you still can use it.

     import { onAnalyticsReady } from 'vue-analytics'
    
     const App = new Vue({ ... })
    
     onAnalyticsReady().then(() => {
        App.$mount('#app')
      })

    the VueAnalytics instance doesn't have the onScriptLoaded method anymore

v4.0.0

19 Apr 11:46
Compare
Choose a tag to compare

New feature

  • Now possible to use every plugin methods respecting Google Analytics api specifications
  • Social interactions tracking
  • Error exceptions tracking and auto tracking
  • Possible to track page passing VueRouter instance
  • Add require method

Breaking changes

  • Naming convention is changed

    • trackPage is now page
    • trackEvent is now event
    • trackTime is now time
  • autoTracking now it's an object and let you enable or disbable page and exception auto tracking

User guide
Added a user guide with links to every features

v3.0.0

10 Mar 20:48
Compare
Choose a tag to compare

New feature
Possibility to add multiple accounts to track at the same time

Vue.use(VueAnalytics, {
  id: ['UA-XXX-X', 'UA-ZZZ-Z']
})

Breaking changes
No more manual script loading or manual auto tracking.

  • The script is auto-injected when one or more ids are added to the configuration.
  • Auto-tracking starts automatically when the VueRouter instance is passed.