Skip to content

Commit fb12ed1

Browse files
committed
chore: remove apollo script
1 parent a08304b commit fb12ed1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/app/[locale]/layout.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,6 @@ export default function RootLayout({ params: { locale }, children }: Props) {
5858
dangerouslySetInnerHTML={{
5959
__html: `
6060
!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');
61-
`,
62-
}}
63-
/>
64-
<Script
65-
id="apollo"
66-
strategy="afterInteractive"
67-
dangerouslySetInnerHTML={{
68-
__html: `
69-
function initApollo(){var n=Math.random().toString(36).substring(7),o=document.createElement("script");
70-
o.src="https://assets.apollo.io/micro/website-tracker/tracker.iife.js?nocache="+n,o.async=!0,o.defer=!0,
71-
o.onload=function(){window.trackingFunctions.onLoad({appId:"66346f168e72ee0560df182c"})},
72-
document.head.appendChild(o)}initApollo();
7361
`,
7462
}}
7563
/>

0 commit comments

Comments
 (0)