Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
removed spindl
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-kaia committed May 17, 2024
1 parent 5ff495b commit 15102af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/services/analytics/useGtm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
gtmSetUserProperty,
gtmTrack,
} from '@/services/analytics/gtm'
import { spindlInit, spindlAttribute } from './spindl'
import { useAppSelector } from '@/store'
import { CookieType, selectCookies } from '@/store/cookiesSlice'
import useChainId from '@/hooks/useChainId'
Expand Down Expand Up @@ -43,7 +42,6 @@ const useGtm = () => {
// Initialize GTM and Spindl
useEffect(() => {
gtmInit()
spindlInit()
}, [])

// Enable GA cookies if consent was given
Expand Down Expand Up @@ -97,7 +95,6 @@ const useGtm = () => {
useEffect(() => {
if (wallet?.address) {
gtmSetUserProperty(AnalyticsUserProperties.WALLET_ADDRESS, wallet.address)
spindlAttribute(wallet.address)
}
}, [wallet?.address])

Expand Down

0 comments on commit 15102af

Please sign in to comment.