Skip to content

Commit 8a6f8c4

Browse files
committed
#RI-4962 - update utm medium
1 parent 96796c1 commit 8a6f8c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

redisinsight/ui/src/utils/oauth/cloudSsoUtm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ export const getCloudSsoUtmCampaign = (source?: string | null): CloudSsoUtmCampa
3232
// Create search query utm parameters
3333
export const getCloudSsoUtmParams = (source?: string | null): URLSearchParams => new URLSearchParams([
3434
['source', 'redisinsight'],
35-
['medium', 'app'], // todo: distinguish between electron and web?
35+
['medium', 'sso'], // todo: distinguish between electron and web?
3636
['campaign', getCloudSsoUtmCampaign(source)],
3737
])

redisinsight/ui/src/utils/tests/oauth/cloudSsoUtm.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('getCloudSsoUtmCampaign', () => {
2525
(input, expected) => {
2626
expect(getCloudSsoUtmParams(input)).toEqual(new URLSearchParams([
2727
['source', 'redisinsight'],
28-
['medium', 'app'],
28+
['medium', 'sso'],
2929
['campaign', expected],
3030
]))
3131
}

0 commit comments

Comments
 (0)