Skip to content

Commit

Permalink
Fix: strip 0x from safe address when sending to GTM (#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan authored Sep 20, 2023
1 parent 42633fd commit 2e062eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/analytics/gtm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const gtmSetDeviceType = (type: DeviceType): void => {
}

export const gtmSetSafeAddress = (safeAddress: string): void => {
commonEventParams.safeAddress = safeAddress
commonEventParams.safeAddress = safeAddress.slice(2)
}

export const gtmInit = (): void => {
Expand Down

0 comments on commit 2e062eb

Please sign in to comment.