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

Commit

Permalink
docs(user-explorer): add fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Gabriele committed Aug 20, 2017
1 parent 7aa3934 commit 7cfc76c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/user-explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Add the `userId` on first load just passing it in the options object
```js
Vue.use(VueAnalytics, {
id: 'UA-XXX-X',
userId: 'xxx'
fields: {
userId: 'xxx'
}
})
```

**it is also possible to set the **`userId`** in runtime using the **[**set**](/set.md)** method**

0 comments on commit 7cfc76c

Please sign in to comment.