Searching.ton
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
250 B

import cookies from "js-cookie"
export const count = (event: string) => {
const isDev = cookies.get("dev")
console.log(event)
if (isDev) {
return
}
try {
yaCounter90644479.reachGoal(event)
} catch (e) {}
gtag("event", event)
}