feat: pub ads

This commit is contained in:
TrèsAbhi committed 2024-04-21 10:21:52 -05:00
1 parent 6298d6230f
commit 57cd3aae50
4 files changed
+45 -5

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
export function Party3() {
return (
<>
{/* analytics */}
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-98NTMRHRP9"
/>
<script
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-98NTMRHRP9');
`,
}}
/>
{/* adsense */}
{/* <script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1289406790225052"
crossOrigin="anonymous"
/> */}
{/* pub center */}
<script
dangerouslySetInnerHTML={{
__html: `
window.msAdsQueue = window.msAdsQueue || [];
`,
}}
/>
<script
async
src="https://adsdk.microsoft.com/pubcenter/sdk.js?siteId=364477&publisherId=253617120"
crossOrigin="anonymous"
/>
</>
);
}