Skip to content

Commit

Permalink
Feat: Add GTM, GA #45
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdnps10 committed Oct 17, 2024
1 parent 33b12b9 commit 6502ece
Show file tree
Hide file tree
Showing 4 changed files with 217 additions and 96 deletions.
97 changes: 97 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->


<url>
<loc>https://www.likelionsg.site/</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.likelionsg.site/about</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/people</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/recruit</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/contact</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/credit</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd775</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd778</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77c</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd776</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77a</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77e</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd777</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77b</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd779</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77d</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>


</urlset>
4 changes: 4 additions & 0 deletions src/app/(main)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import '@/style/globals.css'
import { Figtree, Pp, Pretendard } from '@/utils/Font'
import Header from '../component/Header'
import Footer from '../component/Footer'
import { GoogleAnalytics, GoogleTagManager } from '@next/third-parties/google'

//
//
//
Expand All @@ -24,6 +26,8 @@ export default function RootLayout({
<html
lang="kr"
className={`${Figtree.variable} ${Pp.variable} ${Pretendard.variable}`}>
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GTM_ID} />
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GA_ID} />
<body
className={`${Figtree.className} ${Pp.className} ${Pretendard.className}`}>
<Header />
Expand Down
200 changes: 104 additions & 96 deletions src/app/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,97 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->


<url>
<loc>https://www.likelionsg.site/</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.likelionsg.site/about</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/people</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/recruit</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/contact</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/credit</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd775</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd778</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77c</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd776</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77a</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77e</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd777</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77b</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd779</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77d</loc>
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
<priority>0.64</priority>
</url>


<?xml version="1.0" encoding="utf-8"?><!--Generated by Screaming Frog SEO Spider 20.3-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.likelionsg.site/</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://www.likelionsg.site/about</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.likelionsg.site/people</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.likelionsg.site/contact</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.likelionsg.site/credit</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.likelionsg.site/recruit</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77c</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77b</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77e</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77d</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77a</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd775</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd777</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd779</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd776</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd778</loc>
<lastmod>2024-10-17</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
12 changes: 12 additions & 0 deletions src/type/declaration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
declare namespace NodeJS {
interface ProcessEnv {
NEXT_PUBLIC_API_BASE_URL: string
NEXT_PUBLIC_APP_URL: string
NEXT_PUBLIC_GTM_ID: string
NEXT_PUBLIC_GA_ID: string
}
}

interface Window {
gtag: unknown
}

0 comments on commit 6502ece

Please sign in to comment.