Skip to content

Commit

Permalink
chore: add documentation for anonymous id param
Browse files Browse the repository at this point in the history
  • Loading branch information
gribnoysup committed Jun 1, 2023
1 parent 1560559 commit 933278e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const LINKS = {
github: 'https://github.com/mongodb-js/vscode',
reportBug: 'https://github.com/mongodb-js/vscode/issues',
atlas: 'https://www.mongodb.com/cloud/atlas',
/**
* @param anonymousId Segment analytics `anonymousId` (not `userId`) {@link https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/querystring/}
*/
createAtlasCluster: (anonymousId: string) => {
const ajsAid = anonymousId
? `?ajs_aid=${encodeURIComponent(anonymousId)}`
Expand Down

0 comments on commit 933278e

Please sign in to comment.