Skip to content

Commit

Permalink
feat: add google tag manager
Browse files Browse the repository at this point in the history
  • Loading branch information
top0329 committed Sep 24, 2024
1 parent e45e782 commit 43017a2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@emailjs/browser": "^4.4.1",
"@ffmpeg/ffmpeg": "^0.12.10",
"@ffmpeg/util": "^0.12.1",
"@next/third-parties": "^14.2.13",
"@stripe/stripe-js": "^4.4.0",
"@supabase/supabase-js": "^2.45.1",
"bootstrap": "^5.3.3",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

import { GoogleAnalytics } from "@next/third-parties/google";
import CustomCursor from "@/app/ui/CustomCursor";
import "swiper/css";
import "swiper/css/pagination";
Expand Down Expand Up @@ -41,6 +42,7 @@ export default function RootLayout({ children }) {
<Provider>{children}</Provider>
</SupabaseProvider>
</body>
<GoogleAnalytics gaId="G-7416E1F183" />
</html>
</ClerkProvider>
);
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,13 @@
resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.2.tgz"
integrity sha512-pfASwanOd+yP3D80O63DuQffrBySZPuB7wRN0IGSRq/0rDm9p/MvvnLzzgP2kSiLOUklOrFYVax7P6AEzjGykQ==

"@next/third-parties@^14.2.13":
version "14.2.13"
resolved "https://registry.yarnpkg.com/@next/third-parties/-/third-parties-14.2.13.tgz#6bb7ee9fb5a0740c909dbc625a1985616e916c0a"
integrity sha512-OSqD2E9JO0/GE8HT5QAUsYVXwjWtPLScAX70kO2xopwDAdRzakrsQS55Cihd862X/4bUB37ApVZ9DlHcExzeOg==
dependencies:
third-party-capital "1.0.20"

"@nodelib/[email protected]":
version "2.1.5"
resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz"
Expand Down Expand Up @@ -3677,6 +3684,11 @@ text-table@^0.2.0:
resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz"
integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==

[email protected]:
version "1.0.20"
resolved "https://registry.yarnpkg.com/third-party-capital/-/third-party-capital-1.0.20.tgz#e218a929a35bf4d2245da9addb8ab978d2f41685"
integrity sha512-oB7yIimd8SuGptespDAZnNkzIz+NWaJCu2RMsbs4Wmp9zSDUM8Nhi3s2OOcqYuv3mN4hitXc8DVx+LyUmbUDiA==

to-regex-range@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
Expand Down

0 comments on commit 43017a2

Please sign in to comment.