Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/amplitude-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ AmplitudeClient.prototype.setUserId = function setUserId(userId, startNewSession
* You can also call setGroup multiple times with different groupTypes to track multiple types of groups (up to 5 per app).
*
* Note: this will also set groupType: groupName as a user property.
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information.
* @public
* @param {string} groupType - the group type (ex: orgId)
* @param {string|list} groupName - the name of the group (ex: 15), or a list of names of the groups
Expand Down Expand Up @@ -1543,7 +1543,7 @@ AmplitudeClient.prototype.logEventWithTimestamp = function logEvent(
* Note: the group(s) set only apply for the specific event type being logged and does not persist on the user
* (unless you explicitly set it with setGroup).
*
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information
* about groups and Count by Distinct on the Amplitude platform.
* @public
* @param {string} eventType - name of event
Expand Down
4 changes: 2 additions & 2 deletions src/amplitude.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ if (BUILD_COMPAT_2_0) {
* groupName can be a string or an array of strings to indicate a user in multiple gruups.
* You can also call setGroup multiple times with different groupTypes to track multiple types of groups (up to 5 per app).
* Note: this will also set groupType: groupName as a user property.
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information.
* @public
* @param {string} groupType - the group type (ex: orgId)
* @param {string|list} groupName - the name of the group (ex: 15), or a list of names of the groups
Expand Down Expand Up @@ -299,7 +299,7 @@ if (BUILD_COMPAT_2_0) {
* Note: the group(s) set only apply for the specific event type being logged and does not persist on the user
* (unless you explicitly set it with setGroup).
*
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information
* about groups and Count by Distinct on the Amplitude platform.
* @public
* @param {string} eventType - name of event
Expand Down