--- title: "HTML5 banners" slug: "html5-banners" updated: 2026-03-26T14:38:24Z published: 2026-03-26T14:38:24Z canonical: "help.awin.com/html5-banners" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.awin.com/llms.txt > Use this file to discover all available pages before exploring further. # HTML5 banners HTML5 banners are a type of digital advertisement created using HTML5, CSS3, and JavaScript. They are a modern alternative to older, static image ads (like JPGs or PNGs) and animated GIF or Flash banners. They are versatile, interactive, and can be displayed on a wide range of devices, including desktops, tablets, and smartphones. They can be added using **My Creative** tool. ## Awin ClickTag / ClickTracker It’s important that you declare a clickTag or click tracker URL to a string in the part of the source code which is hosted in our interface. You then use this string to prefix the final landing page with. In the source code hosted in the Awin interface, you can use: ```plaintext var awinClickTracker = 'https://www.awin1.com/awclick.php?mid=1001&id=!!!affid!!!&gid=!!!gid!!!&linkid=!!!linkid!!!&clickref=!!!clickref!!!&p='; ``` The awin clickTag should always be: ```plaintext https://www.awin1.com/awclick.php?mid=XXXX&id=!!!affid!!!&gid=!!!gid!!!&linkid=!!!linkid!!!&clickref=!!!clickref!!!&p= ``` where the value in `mid=XXXX` needs to be replaced with your merchant Id. Example in the externally hosted JS file: ```plaintext var searchUrl = awinClickTracker + 'https://www.advertiser-domain.com/result.php?utm_source=awin'; searchUrl += '&search=' + document.productSearch.product.value; window.open(searchUrl, '\_blank'); ``` ## How to add the HTML5 creatives There are two main methods to add HTML5 creatives. ### Method 1: direct HTML embedding (no iframe) This method is used when you paste the banner’s full HTML code. The ad is served directly on the partner’s page, so all external assets must be referenced with full, absolute URLs. The platform’s system will directly override the placeholders within the clickTag variable you define. #### HTML code to paste You will need to host your `styles.css` and `script.js` files, along with any images, on a public server or CDN. Then, you’ll copy and paste the following HTML snippet into Awin creative UI. ```plaintext