Meta Description" name="description" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MoneyReview 300x250</title>
<!-- 1. Tell Studio the size of the ad -->
<meta name="ad.size" content="width=300,height=250" />
<!-- 2. Include the Studio Enabler -->
<script src="https://s0.2mdn.net/ads/studio/Enabler.js"></script>
<style>
html,
body {
margin: 0;
padding: 0;
}
/* Main ad container */
#ad {
width: 300px;
height: 250px;
overflow: hidden;
}
/* Full clickable overlay */
#bg-exit {
position: relative;
width: 100%;
height: 100%;
cursor: pointer;
}
#bg-exit img {
display: block;
width: 100%;
height: 100%;
}
</style>
<script>
// 3. Wait for Enabler to initialize
window.onload = function () {
if (Enabler.isInitialized()) {
enablerInitHandler();
} else {
Enabler.addEventListener(
studio.events.StudioEvent.INIT,
enablerInitHandler
);
}
};
function enablerInitHandler() {
// Optionally also wait for visibility
if (Enabler.isVisible()) {
adVisibleHandler();
} else {
Enabler.addEventListener(
studio.events.StudioEvent.VISIBLE,
adVisibleHandler
);
}
}
function adVisibleHandler() {
// Now it's safe to hook up interactions
var bgExit = document.getElementById("bg-exit");
bgExit.addEventListener("click", onBackgroundClick);
}
function onBackgroundClick(event) {
// 4. Proper Studio exit tracking
// Enabler.exit("Background_Click");
// No need for window.open, Studio handles it
Enabler.exitOverride(
"Background_Click",
"https://moneyreview.workearly.gr/"
);
}
</script>
</head>
<body>
<!-- 5. Whole ad is clickable -->
<div id="ad">
<div id="bg-exit">
<img src="moneyreview_300x250.png" alt="MoneyReview" />
</div>
</div>
</body>
</html>
3
2
55KB
156KB
388.0ms
412.0ms
389.0ms