Skip to content

Commit 2c31cb0

Browse files
docs: fix link to user group docs (#491)
1 parent 333f8a4 commit 2c31cb0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/amplitude-client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ AmplitudeClient.prototype.setUserId = function setUserId(userId, startNewSession
939939
* You can also call setGroup multiple times with different groupTypes to track multiple types of groups (up to 5 per app).
940940
*
941941
* Note: this will also set groupType: groupName as a user property.
942-
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
942+
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information.
943943
* @public
944944
* @param {string} groupType - the group type (ex: orgId)
945945
* @param {string|list} groupName - the name of the group (ex: 15), or a list of names of the groups
@@ -1543,7 +1543,7 @@ AmplitudeClient.prototype.logEventWithTimestamp = function logEvent(
15431543
* Note: the group(s) set only apply for the specific event type being logged and does not persist on the user
15441544
* (unless you explicitly set it with setGroup).
15451545
*
1546-
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
1546+
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information
15471547
* about groups and Count by Distinct on the Amplitude platform.
15481548
* @public
15491549
* @param {string} eventType - name of event

src/amplitude.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ if (BUILD_COMPAT_2_0) {
172172
* groupName can be a string or an array of strings to indicate a user in multiple gruups.
173173
* You can also call setGroup multiple times with different groupTypes to track multiple types of groups (up to 5 per app).
174174
* Note: this will also set groupType: groupName as a user property.
175-
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
175+
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information.
176176
* @public
177177
* @param {string} groupType - the group type (ex: orgId)
178178
* @param {string|list} groupName - the name of the group (ex: 15), or a list of names of the groups
@@ -299,7 +299,7 @@ if (BUILD_COMPAT_2_0) {
299299
* Note: the group(s) set only apply for the specific event type being logged and does not persist on the user
300300
* (unless you explicitly set it with setGroup).
301301
*
302-
* See the [advanced topics article](https://developers.amplitude.com/docs/setting-user-groups) for more information.
302+
* See the [advanced topics article](https://developers.amplitude.com/docs/javascript#user-groups) for more information
303303
* about groups and Count by Distinct on the Amplitude platform.
304304
* @public
305305
* @param {string} eventType - name of event

0 commit comments

Comments
 (0)