How to Create and Integrate Directlinks: A Step-by-Step Guide

Directlink is a URL that, when clicked, redirects the user to an advertisement.

Publishers can use directlink in a variety of ways, such as creating their own promotional materials and banners that contain the directlink and placing them on their website. Alternatively, site visitors can be automatically redirected to a directlink without the need for additional promos.

Ad Placement Creation

To get started with ad placement, you first need to register as a webmaster. This can be done effortlessly on Mobile10 landing page through self-registration, or you can request assistance from our manager to handle the registration process for you.

To create a new ad placement, simply click the Add Promo Link button.

Add Promo Link button

Settings of ad placement

Select format Directlink.

Assign a name to your ad placement. For instance, we’ll name our ad Directlink promo. Click on Add Promo.

Name ad placement

Important note: you can also set up automatic update of the promo domain and start filtering mobile traffic. Detailed instructions are in the platform settings. If you have questions, you can ask the manager for help.

Additional settings

How to Add Directlink on Your Website

Once you have created the directlink you need to add it to a website. Access the Promo section and copy the directlink. The inline script is utilized for a more intricate configuration.

Promo Section

Directlink can be used in a variety of ways, such as:

  • Posting it on the publisher’s website
  • Using it as trafficback in advertising accounts
  • Purchasing directlink traffic from other advertising networks, without using your own website.

Script customization questions often arise when a publisher wants to place a directlink on their site. Let’s consider the following case:

Since Directlink is most effective on sites where users can download something, for the purpose of this article, let’s assume that the publisher’s site contains content for download.

Therefore, we need to create a Download button that we can later add to the site. In simplified form, the button code will look like this:

<a href="DIRECTLINK HERE" target="_blank"><img src="LINK TO IMAGE" alt="Download-Button" border="0"></a>

Instead of the “DIRECTLINK HERE” value, we will insert the script that we received when creating the site. The “LINK TO IMAGE” should be replaced with a link that points to the banner image.

Important note: if the image is too large, it is recommended to specify the width parameter.

In this particular example, the code to be used is:

<a href="http://example.com/r/?token=12365c2e6524f2e3de83ac75975c39c85bbd2b6d&q={QUERY}" target="_blank"><img src="https://i.ibb.co/3BN3yTx/Download-Button-PNG-Photo.png" alt="Download-Button" border="0" width="250"></a>

Adding Directlink to HTML code

For instance, let’s use a text editor and an HTML template from W3Schools. 

Begin by clicking on the provided link. In the new window, choose a location on your website to place the Download button and insert the specific code we previously discussed. Be sure to replace the {QUERY} parameter with a relevant keyword. Press the Run button.

Adding script to HTML code

Once you have completed the previous steps, a Download button will be displayed. Click on the button to open the advertisement in a new tab.

Important note: to optimize the visibility of download buttons, it is recommended to place them at the top of the page, before the main content, or at the bottom, after the main content.

In case the platform was recently created, the script may not function correctly on the page. It takes some time to activate a new platform. Please wait for 10-15 minutes and then check it again.

Adding script to HTML code

Adding Directlink via CMS Blogger

In order to add a Download button to your CMS Blogger, we will use the built-in widgets. On the service they are called gadgets. These widgets offer the capability to place the desired button across all post pages, or alternatively, within individual posts via the editor.

To begin, log into your Blogger account and navigate to the “Layout” tab.

Adding Directlink via CMS Blogger

In the new window, click on Add a Gadget.

Adding Directlink via CMS Blogger

A page will open where you need to select the “HTML/JavaScript” widget.

Adding Directlink via CMS Blogger

In the “Content” field, add the code for the Download button and click Save.

Adding Directlink via CMS Blogger

To place the button in the desired location, move the newly-created gadget to the “Main” column. This should be the location where you want the button to be installed, preferably before the main content.

Adding Directlink via CMS Blogger

Once the gadget is in position, click on Save arrangement to activate directlink. The Download button will then be displayed on the webpage.

Adding Directlink via CMS Blogger

Adding Directlink via CMS WordPress

When using WordPress, you can add a link to the script in two ways:

  1. Make changes to the WordPress site theme
  2. Use a dedicated plugin

Since the easiest and fastest way is to use a plugin, we will consider it further.

First, log in to your WordPress site account and go to the “Plugins” -> “Add New” tab.

Adding Directlink via CMS WordPress

Through the search bar, you can find the plugin “Ad Inserter – Ad Manager & AdSense Ads“, which is one of the most popular solutions for placing ads on a WordPress site.

Once you find it, click on Install Now to install the plugin.

Adding Directlink via CMS WordPress

Activate the plugin.

Adding Directlink via CMS WordPress

Go to the “Settings” – “Ad Inserter” tab.

Adding Directlink via CMS WordPress

In “Block 1,” paste the link to the script. We will add a Download button right after the title of the main body of content. To do this, check the box next to the “Posts” item, and in the “Insertion” drop-down list, select “Before content.” Click Save Settings.

The Download button will appear on the site page and will be displayed after the post title.

Adding Directlink via CMS WordPress

Scroll to Top