Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. We require a JavaScript variable to be present in the code. This variable has to be named clickTag in order to be picked up.
    The value of the clickTag variable needs to be a string literal within single quotes:

    Code Block
    languagexml
    titleExample
    <a id="clickThroughBtn" target='_new' href="">Register click</a>
    
    <script>
    	var clickTag = '';
    	document.querySelector('#clickThroughBtn').href = clickTag;
    </script> ...
    
  2. This variable should be placed in the main HTML file as this is the only file that will be parsed.
  3. An URL of the landing page will be provided in the Adhese UI. Together with our click tracker, this URL will be assigned to the clickTag variable once the banner is uploaded.
  4. Make sure to make use of this variable when implementing the click-through logic!

...