mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
43 lines
1018 B
TypeScript
43 lines
1018 B
TypeScript
import { useEffect } from 'react';
|
|
|
|
export function Party3() {
|
|
useEffect(() => {
|
|
(window as any).msAdsQueue = (window as any).msAdsQueue || [];
|
|
}, []);
|
|
|
|
return (
|
|
<>
|
|
{/* analytics */}
|
|
<script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=G-D8DT6EWVFJ"
|
|
/>
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-D8DT6EWVFJ');
|
|
`,
|
|
}}
|
|
/>
|
|
|
|
{/* adsense */}
|
|
<script
|
|
async
|
|
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1289406790225052"
|
|
crossOrigin="anonymous"
|
|
/>
|
|
|
|
{/* pub center */}
|
|
{/* <script
|
|
async
|
|
src="https://adsdk.microsoft.com/pubcenter/sdk.js?siteId=364477&publisherId=253617120"
|
|
crossOrigin="anonymous"
|
|
/> */}
|
|
</>
|
|
);
|
|
}
|