mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: some ads basework
This commit is contained in:
1 parent
e52063c12d
commit
9923efe8ab
4 files changed
+64
-73
No files matched your search
@@ -1,3 +1,4 @@
|
||||
{/* google analytics */}
|
||||
<script
|
||||
is:inline
|
||||
async
|
||||
@@ -11,3 +12,24 @@
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-GL2JVHCGPQ');
|
||||
</script>
|
||||
|
||||
{/* nitro ads */}
|
||||
<script data-cfasync="false" is:inline>
|
||||
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>
|
||||
<script
|
||||
is:inline
|
||||
data-cfasync="false"
|
||||
async
|
||||
src={`https://s.nitropay.com/ads-${import.meta.env.PUBLIC_NITROPAY_ID}.js`}
|
||||
></script>
|
||||
Reference in new issue
Block a user