Ads: Include at least one 'ClickTag' in your html?

Hello Daniel,

I will.

This specific ClickTag is used by Media Impact in Germany. It is similar company like Adform, DoubleClick or Flashtalking. It belongs to the Axel Springer Verlag. And most online creatives are stationed on their server. I think it’s an Apple/Google designed GET Parameter Clicktag system they use.

Media Impact writes the following for the h5 specs:
http://www.media-impact.de/specs/mp_spec_werbemittel_de_8139508.html?objekt=7909411

Initial Script:

    <script> 
        var getUriParams = function() { 
        var query_string = {} 
        var query = window.location.search.substring(1); 
        var parmsArray = query.split('&');
         if(parmsArray.length <= 0) return query_string; 
        for(var i = 0; i < parmsArray.length; i++) { 
        var pair = parmsArray[i].split('='); 
        var val = decodeURIComponent(pair[1]); 
        if (val != '' && pair[0] != '') query_string[pair[0]] = val; 
        } 
        return query_string; 
        }(); 
  </script>

Blank a href div:

<a href="#clicktag" id="clicktag">clicktag</a> 
<a href="#clicktag2" id="clicktag2">clicktag</a> 

Get script:

<script> 
document.getElementById('clicktag').setAttribute('href', getUriParams.clicktag);
document.getElementById('clicktag').setAttribute('target', getUriParams.target);
</script>

Test the Banner:

html5banner.html?clicktag=%LANDINGPAGE%

%LANDINGPAGE% can be changed to the targetURL.

Example: html5banner.html?clicktag=http://forums.tumult.com/*

2 Likes