Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 7cfc76c

Browse files
author
Matteo Gabriele
committed
docs(user-explorer): add fields
1 parent 7aa3934 commit 7cfc76c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/user-explorer.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ Add the `userId` on first load just passing it in the options object
55
```js
66
Vue.use(VueAnalytics, {
77
id: 'UA-XXX-X',
8-
userId: 'xxx'
8+
fields: {
9+
userId: 'xxx'
10+
}
911
})
1012
```
1113

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

0 commit comments

Comments
 (0)