mirror of
https://github.com/movie-web/movie-web.git
synced 2024-06-03 02:18:44 +02:00
12 lines
160 B
TypeScript
12 lines
160 B
TypeScript
import ReactGA from "react-ga4";
|
|
|
|
import { GA_ID } from "@/setup/constants";
|
|
|
|
if (GA_ID) {
|
|
ReactGA.initialize([
|
|
{
|
|
trackingId: GA_ID,
|
|
},
|
|
]);
|
|
}
|