Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 282 Bytes

user-explorer.md

File metadata and controls

14 lines (11 loc) · 282 Bytes

User explorer

Add the userId on first load just passing it in the options object

Vue.use(VueAnalytics, {
  id: 'UA-XXX-X',
  fields: {
    userId: 'xxx'
  }
})

it is also possible to set the userId in runtime using the set method