Files
blitzkit/packages/website/src/components/Party3.astro
T

54 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-12-12 15:03:51 -06:00
---
import { assertSecret } from '@blitzkit/core';
2024-12-16 10:59:26 -06:00
const PUBLIC_GOOGLE_TAG_MANAGER_ID = assertSecret(
import.meta.env.PUBLIC_GOOGLE_TAG_MANAGER_ID,
);
2024-12-12 15:03:51 -06:00
---
2024-10-09 22:35:10 -05:00
{/* google analytics */}
2024-10-09 10:29:42 -05:00
<script
is:inline
async
2025-04-03 11:34:57 -05:00
type="text/partytown"
2024-12-16 10:59:26 -06:00
src={`https://www.googletagmanager.com/gtag/js?id=${PUBLIC_GOOGLE_TAG_MANAGER_ID}`}
></script>
2025-04-03 11:34:57 -05:00
<script
is:inline
define:vars={{ PUBLIC_GOOGLE_TAG_MANAGER_ID }}
type="text/partytown"
>
2024-09-14 19:43:14 -05:00
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
2024-12-16 10:59:26 -06:00
gtag('config', PUBLIC_GOOGLE_TAG_MANAGER_ID);
2024-09-14 19:43:14 -05:00
</script>
2024-10-09 22:35:10 -05:00
2025-04-21 14:36:24 -05:00
<script
2025-04-21 18:21:12 -05:00
is:inline
2025-04-21 14:36:24 -05:00
src="https://tracking.tomato.gg/api/script.js"
site-id="14"
defer
2025-04-21 17:01:32 -05:00
type="text/partytown"></script>
2025-04-21 14:36:24 -05:00
2024-10-09 22:35:10 -05:00
{/* nitro ads */}
2024-12-16 11:01:07 -06:00
{
/*
2024-10-10 16:08:35 -05:00
<script is:inline data-cfasync="false">
2024-10-09 22:35:10 -05:00
window.nitroAds = window.nitroAds || {
createAd: function () {
return new Promise((e) => {
window.nitroAds.queue.push(['createAd', arguments, e]);
});
},
addUserToken: function () {
window.nitroAds.queue.push(['addUserToken', arguments]);
},
queue: [],
};
</script>
2024-12-16 11:01:07 -06:00
*/
}