Skip to content

Commit b1b46a8

Browse files
committed
chore: remove reddit pixel
1 parent 6df5072 commit b1b46a8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/app/[locale]/layout.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ export default function RootLayout({ params: { locale }, children }: Props) {
3636
<link rel="dns-prefetch" href="https://www.googletagmanager.com" />
3737
<link rel="preconnect" href="https://static.reo.dev" />
3838
<link rel="dns-prefetch" href="https://static.reo.dev" />
39-
<link rel="preconnect" href="https://www.redditstatic.com" />
40-
<link rel="dns-prefetch" href="https://www.redditstatic.com" />
4139
</head>
4240
<body className="flex h-full flex-col">
4341
<Cal />
@@ -59,15 +57,6 @@ export default function RootLayout({ params: { locale }, children }: Props) {
5957
`,
6058
}}
6159
/>
62-
<Script
63-
id="reddit-pixel"
64-
strategy="lazyOnload"
65-
dangerouslySetInnerHTML={{
66-
__html: `
67-
!function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init','t2_eaojgtkcg', {"optOut":false,"useDecimalCurrencyValues":true});rdt('track', 'PageVisit');
68-
`,
69-
}}
70-
/>
7160
<ReoScript />
7261
<PlausibleProvider domain="bytebase.com">
7362
<I18nProvider locale={locale}>

0 commit comments

Comments
 (0)