diff --git a/apps/frontend/src/components/ui/AdPlaceholder.vue b/apps/frontend/src/components/ui/AdPlaceholder.vue
index 66f7964e..948ac273 100644
--- a/apps/frontend/src/components/ui/AdPlaceholder.vue
+++ b/apps/frontend/src/components/ui/AdPlaceholder.vue
@@ -13,7 +13,7 @@
@@ -23,12 +23,33 @@ import { ChevronRightIcon } from "@modrinth/assets";
useHead({
script: [
{
- type: "module",
- src: "//js.rev.iq",
- "data-domain": "modrinth.com",
+ src: "https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js",
+ async: true,
+ },
+ {
+ src: "/inmobi.js",
async: true,
},
],
+ link: [
+ {
+ rel: "preload",
+ as: "script",
+ href: "https://www.googletagservices.com/tag/js/gpt.js",
+ },
+ ],
+});
+
+onMounted(() => {
+ window.tude = window.tude || { cmd: [] };
+ tude.cmd.push(function () {
+ tude.refreshAdsViaDivMappings([
+ {
+ divId: "modrinth-rail-1",
+ baseDivId: "pb-slot-square-2",
+ },
+ ]);
+ });
});
-
-
-
-
-
-