Skip to content

Commit 82b3e91

Browse files
authored
chore: rename switch to swap in tracking (#2654)
1 parent 547a721 commit 82b3e91

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/hooks/useModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export const ModalContextProvider: React.FC<PropsWithChildren> = ({ children })
398398
setType(ModalType.V3Migration);
399399
},
400400
openSwitch: (underlyingAsset, chainId) => {
401-
trackEvent(GENERAL.OPEN_MODAL, { modal: 'Switch' });
401+
trackEvent(GENERAL.OPEN_MODAL, { modal: 'Swap' });
402402
setType(ModalType.Switch);
403403
setArgs({ underlyingAsset, chainId });
404404
},

src/store/analyticsSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const createAnalyticsSlice: StateCreator<
9090
autocapture: true, // disable if we don't want to capture every click and page view on the site
9191
trackingOptions: {
9292
ipAddress: false,
93-
language: true,
93+
language: false,
9494
platform: true,
9595
},
9696
});

0 commit comments

Comments
 (0)