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
1 change: 1 addition & 0 deletions static/gsApp/__mocks__/@amplitude/analytics-browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export const identify = jest.fn();
export const init = jest.fn();
export const track = jest.fn();
export const setGroup = jest.fn();
export const Types = jest.requireActual('@amplitude/analytics-browser').Types;

export const _identifyInstance = identifyInstance;
1 change: 1 addition & 0 deletions static/gsApp/hooks/analyticsInitUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default function analyticsInitUser(user: User) {
}

Amplitude.init(amplitudeKey, undefined, {
logLevel: Amplitude.Types.LogLevel.None,
minIdLength: 1,
attribution: {
disabled: false,
Expand Down
Loading