enzostvs HF Staff commited on
Commit
c19bea1
·
1 Parent(s): 0738d2d
Files changed (1) hide show
  1. components/gtm/index.tsx +0 -5
components/gtm/index.tsx CHANGED
@@ -8,7 +8,6 @@ import { pageview } from "@/utils/gtm";
8
  export default function Analytics() {
9
  const pathname = usePathname();
10
  const searchParams = useSearchParams();
11
- const isDeveloper = process.env.NEXT_PUBLIC_APP_DOMAIN === "developpeur.bio";
12
 
13
  useEffect(() => {
14
  if (pathname) {
@@ -16,10 +15,6 @@ export default function Analytics() {
16
  }
17
  }, [pathname, searchParams]);
18
 
19
- if (process.env.NEXT_PUBLIC_ENV !== "production") {
20
- return null;
21
- }
22
-
23
  return (
24
  <>
25
  <noscript>
 
8
  export default function Analytics() {
9
  const pathname = usePathname();
10
  const searchParams = useSearchParams();
 
11
 
12
  useEffect(() => {
13
  if (pathname) {
 
15
  }
16
  }, [pathname, searchParams]);
17
 
 
 
 
 
18
  return (
19
  <>
20
  <noscript>