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

38 lines
888 B
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
2024-12-16 10:59:26 -06:00
src={`https://www.googletagmanager.com/gtag/js?id=${PUBLIC_GOOGLE_TAG_MANAGER_ID}`}
></script>
2024-10-09 10:29:42 -05:00
<script is:inline>
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
{/* nitro ads */}
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>