Displaying ads

If your website displays ads, you can relocate the entire ad management to Finteza. This allows you to launch and stop campaigns, as well as add and remove ads from rotation without accessing the website management panel.

In fact, you only need to define ad areas on your website, while the entire contents management, detailed statistics and conversions are available in Finteza.

Although advertisements are called banners in Finteza, they are not limited to static images and GIF animations. A banner is a container that may include a variety of contents types, including HTML5: landing pages, carousels, pop-ups, etc.

Creating an advertisement zone in Finteza #

Before creating a banner on the website, configure an advertisement zone in Finteza. It allows you to manage the ad block contents.

Go to the Websites section of the Finteza panel, find your application and click "new zone":

  • Set the name and allowed content formats. JPG, PNG, GIF and HTML are currently supported.
  • Set the zone size if known in advance or select automatic zone scaling.
  • Save the changes and copy the generated HTML code of the zone.
Creating an advertisement zone for a website

Creating a banner on a website #

Paste the previously received HTML code in your website page where you see fit. For example:

<html>
<body>
...
<div id="btgxpzikmzqeogyridfsskmltugiibwqkn" align="center"></div>
<script type="text/javascript">
(function(a,e,f,g,b,c,d){a[b]||(a.FintezaCoreObject=b,a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)},a[b].l=1*new Date,c=e.createElement(f),d=e.getElementsByTagName(f)[0],c.async=!0,c.defer=!0,c.src=g,d&&d.parentNode&&d.parentNode.insertBefore(c,d))})
(window,document,"script","https://content.mql5.com/core.js","fz");
fz("show","btgxpzikmzqeogyridfsskmltuppklsdkn");
</script>
...
</body>
</html>

Configure campaign in Finteza, upload banners and the advertisement will appear on the website.

When using Content Security Policy #

Content Security Policy standard has been designed to prevent attacks associated with the introduction of malicious code into website pages. If you use this security policy, add an exception for the website the Finteza script is downloaded from into the string with the corresponding declaration in each web page header, for example:

Content-Security-Policy: script-src 'self' content.mql5.com;

Otherwise, browsers will block core.js loading, thus disabling ads.

Accelerating download using X-DNS-Prefetch-Control #

To accelerate downloading of the Finteza script used for managing ads, it is recommended to add the X-DNS-Prefetch-Control instruction to the header of all website pages:

<meta http-equiv='x-dns-prefetch-control' content='on'>
<link rel='dns-prefetch' href='https://content.mql5.com'>

It shows the script location to the browser, so that it can resolve the address immediately (when downloading the web page) without spending time on that when downloading the script itself.