Skip to content

Commit

Permalink
Merge pull request #4 from codebustar/main
Browse files Browse the repository at this point in the history
Update gtags.ts
  • Loading branch information
sujjeee authored Oct 15, 2023
2 parents 4a1379a + 736c2fb commit 6d27c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/gtags.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// original: https://dany-rivera.medium.com/how-to-integrate-google-analytics-on-your-next-js-13-app-easy-guide-c7389666831c

import { env } from "../env.mjs";
import { env } from "@/env.mjs";

export const GA_TRACKING_ID: string | undefined = env.NEXT_PUBLIC_GOOGLE_ID;

Expand All @@ -25,4 +25,4 @@ export const event = ({ action, category, label, value }: {
value: value,
});
}
};
};

0 comments on commit 6d27c4f

Please sign in to comment.