What is a clickTag?

The clickTag is a technique used to open the advertiser's landing page in a new browser tab by clicking on a banner. The clickTag also allows the third-party ad servers used by the publisher to provide the URL of their own click tracking mechanism which will be called between banner click and landing page opening.


How to install clickTag

 It can be done in two ways:

  •  add the following script into <head> tag of html file:

    <script src="https://cdn-prod.match2one.com/m2o_click_tag.js"></script>

    It will add a transparent <div> tag on top of your banner. This tag is aware of the clickTag and will open a landing page passed there during a click on the banner.
  •  Add your own implementation which will add event listener on DOMContentLoaded event, extract clickTag query parameter value and set the value to the area responsible for clicking.


How to test clickTag

  1.  After * clickTag* installation described above, save your banner.
  2.  Open index.html (your own *.html) file in preferred web browser.
  3.  Add the following text: ?clickTag=http://match2one.com at the end of the URL in the address bar and press Enter.

4. Click on the ad. A new window with match2one.com website should be opened in your browser. 


You are good to go!

Did this answer your question?