Support Questions:How to setup click macro with Atlas
From HasOffers
Click macros allow third-party ad servers to track clicks and conversions in their system. Click macros work by user clicks on an advertisement. User is redirected to third-party click URL. Third-party system records a click and sets cookies. Then third-party system redirects user to landing page of advertisement.
With Atlas, click macros are dynamic URLs that their ad server generates dynamically by replacing specified variables.
The standard click macro for Atlas is: %click%http://%click_domain%/go/%site_alias%/%category%;ai.%ad_id%;ct.1/01?href=
However, the above will not work properly in an HasOffer ad tag because it needs to be encoded. These characters must be encoded : / ; = ?
Thus, to insert an Atlas click macro into a HasOffer ad tag, you need to use a JavaScript ad tag and reformatted it so it. Take the ad tag below and update domain, campaign ID and affiliate ID for your network in the src of the script. You can also modify the Atlas click macro defined by eredirect based on how you setup the campaign to track clicks in Atlas.
The script below encodes Atlas's click macro and then inserts it at the end. You must use the ad tag format below for HasOffers ad tags so that you can insert dynamic click macro into it. Standard iFrame ad tags won't work.
<!-- Javascript Ad Tag -->
<script type="text/javascript">
var eredirect = escape("%click%http://%click_domain%/go/%site_alias%/%category%;ai.%ad_id%;ct.1/01?href=");
document.write('<sc'+'ript src="http://rdmedia.go2jump.org/aff_ad?campaign_id=1&aff_id=1&aff_sub=SUBID&source=SOURCE&format=js&eredirect='+eredirect+'" type="text/javascript"></sc'+'ript>');
</script>
<!-- // End Ad Tag -->
Email this page to a friend or co-worker