Skip to content

Commit cffe23f

Browse files
committed
chore: switch umami to new version
1 parent a83c20f commit cffe23f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

‎src/app/(main)/layout.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Script from "next/script";
1111
import RootProviders from "./RootProviders.client";
1212

1313
const title = "Kyle Wong - Digital Marketer, Web Developer.";
14-
const description = `Hello, I'm Kyle, a digital marketer and web developer, based in the Malaysia 🇲🇾.`;
14+
const description = `Hello, I'm Kyle, a digital marketer and web developer, based in the Malaysia 🇲.`;
1515
const image = encodeURI(
1616
`${
1717
devEnvironment ? DEVDOMAIN : DOMAIN
@@ -111,8 +111,10 @@ export default function RootLayout({
111111
{!isDev && (
112112
<Script
113113
async
114-
src={"https://5oddwdpyqe.kylewong.my/umami.js"}
115-
data-website-id="2732127c-366b-4a69-8067-b750b856bbd4"
114+
src={
115+
"https://umami-production-dc37.up.railway.app/script.js"
116+
}
117+
data-website-id="420ddc93-aa75-44aa-89a8-096469720716"
116118
strategy="lazyOnload"
117119
/>
118120
)}

‎src/contents/posts/bye-google-analytics-hi-umami/content.mdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ So now, make sure you have created a subdomain of the website that you're lookin
2929

3030
🥳 That's really it!
3131

32-
Up to this point, i'm liking everything that Umami has to offer. Simple integration, minimal UI, and it also comes with a sharable link to my own analytics. Here's the&nbsp;[**shareable link for this blog**](https://5oddwdpyqe.kylewong.my/share/zT7fHNea/Kyle%20Blog)&nbsp;that might convince you into Umami 😉.
32+
Up to this point, i'm liking everything that Umami has to offer. Simple integration, minimal UI, and it also comes with a sharable link to my own analytics. Here's the&nbsp;[**shareable link for this blog**](https://umami-production-dc37.up.railway.app/share/d40u2GGQAOdWN6gD/Kyle%20Blog)&nbsp;that might convince you into Umami 😉.
3333

3434
To end this topic, if there's no reason to use Google Analytics and Facebook Pixel,&nbsp;**please don't**. Pick any from the list above and respect everyone that visits your site. Cheers 🥂

0 commit comments

Comments
 (0)