I’m running WordPress with Adrotate – note, this is not a WordPress question – and an advertiser has send me images they want to run as ads. I know that if I put the images directly in the ads the impressions won’t be tracked due to caching software (memcache) so I thought I’d circumvent that with some JavaScript. Would my method below work or do I need to do something like generate a random query string?
<script>
document.write("<div><a href=%link% target=_blank><img src=\"%image%\" height=\"250\" width=\"250\" /></a></div>");
</script>
Note: I don’t know any JavaScript at all, so this will need to be spelled out explicitly for me! Also I played around with OpenX but it seems way too advanced for one simple ad campaign.
You can add a timestamp to image src param :