Skip to content

Commit

Permalink
Merge pull request #3 from NTHU-SC/dev/wmou/track
Browse files Browse the repository at this point in the history
Updated GA and Clarity
  • Loading branch information
William-Mou authored Jun 13, 2024
2 parents 7f015f8 + 38c44a7 commit 084a2ad
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import "@fontsource/inter/600.css";
import "@fontsource/inter/700.css";
import "@fontsource/inter/800.css";
import "@fontsource/inter/900.css";
import '@fontsource/noto-sans-tc';
import '@fontsource/noto-sans-tc/100.css';
import '@fontsource/noto-sans-tc/300.css';
import '@fontsource/noto-sans-tc/400.css';
import '@fontsource/noto-sans-tc/500.css';
import '@fontsource/noto-sans-tc/700.css';
import '@fontsource/noto-sans-tc/900.css';
import "@fontsource/noto-sans-tc";
import "@fontsource/noto-sans-tc/100.css";
import "@fontsource/noto-sans-tc/300.css";
import "@fontsource/noto-sans-tc/400.css";
import "@fontsource/noto-sans-tc/500.css";
import "@fontsource/noto-sans-tc/700.css";
import "@fontsource/noto-sans-tc/900.css";
export interface Props {
title: string;
Expand Down Expand Up @@ -74,7 +74,7 @@ const { title } = Astro.props;
content="https://scc.nthu.site/Summer_Camp_2024/og_image.jpg"
/>

<!-- Hotjar Tracking Code for https://scc.nthu.site/Summer_Camp_2024/ -->
<!-- Hotjar Tracking Code for https://scc.nthu.site/Summer_Camp_2024/
<script>
(function (h, o, t, j, a, r) {
h.hj =
Expand All @@ -89,10 +89,10 @@ const { title } = Astro.props;
r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
a.appendChild(r);
})(window, document, "https://static.hotjar.com/c/hotjar-", ".js?sv=");
</script>
</script> -->

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XWDC3XZW8T"
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YVNJ6ZG1WT"
></script>
<script>
window.dataLayer = window.dataLayer || [];
Expand All @@ -101,7 +101,7 @@ const { title } = Astro.props;
}
gtag("js", new Date());

gtag("config", "G-XWDC3XZW8T");
gtag("config", "G-YVNJ6ZG1WT");
</script>

<!-- clarity.microsoft.com -->
Expand All @@ -124,7 +124,7 @@ const { title } = Astro.props;
<slot />
<style is:global>
html {
font-family:'Noto Sans TC', sans-serif;;
font-family: "Noto Sans TC", sans-serif;
background-color: #26272b;
overflow-x: hidden;
scroll-behavior: smooth;
Expand Down

0 comments on commit 084a2ad

Please sign in to comment.