Skip to main content

Direct Link (SmartLink)

A
Written by Admin
Updated yesterday

One of the most flexible traffic monetization solutions—Direct Link (SmartLink)—gives publishers the easiest way to send and sell traffic to Monetag. One link and thousands of offers rotate depending on the site, traffic, and targeting. We pick the most suitable and profitable ad feed for each ad placement, and our optimization team is always searching for the best-fitting ads to increase rates.

You can take a Direct Link from your account in the special tab or via the Sites menu (Sites -> Add Site -> Add zone -> Get tag).


You can choose the area where your Direct Link will be placed. It can be any particular element on your site (an active button, a text, a picture, etc.). We recommend integrating it on the most clickable spot, getting the maximum amount of impressions accordingly.

Here are some examples of how a Direct Link can be integrated into a website.
You can set the code of the Direct link into the button on your website, for example, the "Download" button.

HTML code which you can use for the "Download" button:

<a href="//go.oclasrv.com/afu.php?zoneid=00000" target="_blank">Download Free Games</a>

If you want the ads to be triggered when a user clicks on a certain area of the page or a download button, like in the example above, you can use this JavaScript code (please, modify it to fit your needs):

<script type="text/javascript">
function open_win() {
window.open("//go.oclasrv.com/afu.php?zoneid=00000", "ad");
}
</script>
<a href="<your-target-link-here>" target="_blank" onclick="open_win()"><img src="/download.gif" alt="Download Free Game" /></a>

A more advanced version would look like this:

<script>
var els = document.querySelectorAll(".enter_a_css_here");
var smart_link = "http://enter-a-smart-link-here";
for (var i = 0; i < els.length; i++) {
els[i].onclick = function() { window.open(smart_link, "ad"); };
}
</script>

In case of any questions, don't hesitate to get in touch with our Support team via support@monetag.com.

Did this answer your question?