mirror of
https://github.com/jakobkordez/s5_practice.git
synced 2025-05-16 08:40:29 +00:00
Fix any
This commit is contained in:
parent
d461520bdd
commit
f9ed03166c
@ -5,7 +5,10 @@ import Script from 'next/script';
|
||||
const ANALYTICS_URL = process.env.NEXT_PUBLIC_ANALYTICS_URL;
|
||||
const ANALYTICS_ID = process.env.NEXT_PUBLIC_ANALYTICS_ID;
|
||||
|
||||
export function umamiTrack(eventName: string, data?: { [key: string]: any }) {
|
||||
export function umamiTrack(
|
||||
eventName: string,
|
||||
data?: { [key: string]: string | number },
|
||||
) {
|
||||
if (typeof window === 'undefined') return;
|
||||
|
||||
const umami = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user