Skip to content

Commit 207d3ad

Browse files
Updates
1 parent 4be285a commit 207d3ad

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/config/head/gtag.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ function GoogleTag() {
88
<Script id="gtag">
99
{`window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-CRFMGJ9Y7D');`}
1010
</Script>
11+
{/* End Google tag */}
1112
</>
1213
)
1314
}

src/head.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"use client";
22

3+
import Script from 'next/script';
34
import { GoogleTag } from "@/config/head/gtag";
45

56
function HeadInnerHTML() {
@@ -20,6 +21,7 @@ function HeadInnerHTML() {
2021
<meta property="twitter:image" content="https://j.is-a.dev/CodeShare/public/static/images/banner/CodeShare.svg" />
2122
<meta property="vk:image" content="http://juststudio.is-a.dev/logo-200h-b.png" />
2223
<GoogleTag />
24+
<Script src="https://analytics.juststudio.is-a.dev/codeshare" />
2325
</>
2426
)
2527
}

0 commit comments

Comments
 (0)