Skip to content

Commit

Permalink
use anonymous user in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mzanoni committed Oct 31, 2022
1 parent e22f6ac commit 7c68f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/nuxtjs/pages/[[slug]].vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const navLinks = compositions
});
function getUser() {
return UserFactory.byAuthenticatedId('bdf0123c-9228-420b-9e39-d5c95e2977b4'); // ID is generated using crypto.randomUUID() in the browser
// You can read about how to select the correct user in our documentation here: https://docs.relewise.com/docs/examples/ts/tracking/client-side-tracking.html#userfactory
return UserFactory.anonymous();
}
</script>

Expand Down

0 comments on commit 7c68f6d

Please sign in to comment.