diff --git a/package.json b/package.json index bd397c0..6bfc42e 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@google-pay/button-react": "^3.1.0", "@headlessui/react": "^2.1.3", "@heroicons/react": "^2.1.5", + "@next/third-parties": "^14.2.7", "@payloadcms/bundler-webpack": "^1.0.0", "@payloadcms/db-mongodb": "^1.0.0", "@payloadcms/plugin-cloud": "^3.0.1", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index bb085bc..9194a28 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,4 +1,5 @@ import React from 'react' +import { GoogleAnalytics } from '@next/third-parties/google' import { Metadata } from 'next' import { Noto_Sans } from 'next/font/google' @@ -24,6 +25,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo + diff --git a/yarn.lock b/yarn.lock index 5cd109e..5c76bc1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1513,6 +1513,13 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.2.tgz#cf8db00763d9219567655b90853b7d484f3fcad6" integrity sha512-LfTHt+hTL8w7F9hnB3H4nRasCzLD/fP+h4/GUVBTxrkMJOnh/7OZ0XbYDKO/uuWwryJS9kZjhxcruBiYwc5UDw== +"@next/third-parties@^14.2.7": + version "14.2.7" + resolved "https://registry.yarnpkg.com/@next/third-parties/-/third-parties-14.2.7.tgz#542e354cb129e5a4751fa3c28f96d00515a4d3b8" + integrity sha512-cE/1MAvmbKFZ9VCCj+Gvv21rMm/72JRTeLr24QEqCBNe17xuXyCzg9c7cRCXLdbk1VTBSALZCK9o13gbOvSMKA== + dependencies: + third-party-capital "1.0.20" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" @@ -9469,6 +9476,11 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" +third-party-capital@1.0.20: + 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== + thread-stream@^2.0.0: version "2.4.1" resolved "https://registry.npmjs.org/thread-stream/-/thread-stream-2.4.1.tgz"