Skip to content

Commit e2cca12

Browse files
committed
load gtm on client test
1 parent 06b486b commit e2cca12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/common/components/shell/gtm/safe-gtm.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function SafeGTM({ gtmId}: { gtmId: string}) {
99
const [canLoad, setCanLoad] = useState(false)
1010

1111
useEffect(() => {
12-
const hash = window.location.hash
12+
/* const hash = window.location.hash
1313
const hasLargeHash = hash.length > MAX_HASH_LENGTH
1414
let originalHash = ""
1515
if(hasLargeHash) {
@@ -18,7 +18,7 @@ export function SafeGTM({ gtmId}: { gtmId: string}) {
1818
setTimeout(() => {
1919
window.location.hash = originalHash
2020
}, 500)
21-
}
21+
} */
2222
setCanLoad(true)
2323
}, [])
2424

0 commit comments

Comments
 (0)