Quick Help

The knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles. You can read articles in this category or select a subcategory that you are interested in.



 INSERT_RANDOM_NUMBER macro in ad tags

Solution

NSERT_RANDOM_NUMBER in each ad tag is used as cache-buster if PixFuture tags served in 3rd party ad server. The cache-buster macro ensures that a fresh call is made to the ad server every time the code is executed, so you’re accurately counting impressions. If you don’t add the cache-busting macro to the creative code, you’re more likely to see impression counting discrepancies between PixFuture and a third-party ad server. Note that not all third parties require the cache-buster macro.

Examples:

  • Synchronous ad tags (sample tag not to be used!)

<script type=”text/javascript”>
if (!window.OX_ads) { OX_ads = []; }
OX_ads.push({ “auid” : “11122234” });
</script>
<script type=”text/javascript”>
document.write(‘<scr’+’ipt src=”http://ax-d.pixfuture.net/w/1.0/jstag”><\/scr’+’ipt>’);
</script>
<noscript><iframe id=”456d908593″ name=”456d908593″ src=”http://ax-d.pixfuture.net/w/1.0/afr?auid=11122234&cb=INSERT_RANDOM_NUMBER_HERE” frameborder=”0″ scrolling=”no” width=”160″ height=”600″><a href=”http://ax-d.pixfuture.net/w/1.0/rc?cs=456d908593&cb=INSERT_RANDOM_NUMBER_HERE” ><img src=”http://ax-d.pixfuture.net/w/1.0/ai?auid=11122234&cs=456d908593&cb=INSERT_RANDOM_NUMBER_HERE” border=”0″ alt=””></a></iframe></noscript>

  • Iframe ad tags (sample tag not to be used!)

<iframe id=”456d908593″ name=”456d908593″ src=”http://ax-d.pixfuture.net/w/1.0/afr?auid=11122234&cb=INSERT_RANDOM_NUMBER_HERE” frameborder=”0″ scrolling=”no” width=”160″ height=”600″><a href=”http://ax-d.pixfuture.net/w/1.0/rc?cs=456d908593&cb=INSERT_RANDOM_NUMBER_HERE” ><img src=”http://ax-d.pixfuture.net/w/1.0/ai?auid=11122234&cs=456d908593&cb=INSERT_RANDOM_NUMBER_HERE” border=”0″ alt=””></a></iframe>

  • Asynchronous ad tags (sample tag not to be used!)

<div id=”slot11122234_INSERT_RANDOM_NUMBER_HERE” style=”width:160px;height:600px;”> <!– Place your fallback code here –> <noscript> <iframe id=”50ca29e11122234″ name=”50ca29e485269″ src=”http://ax-d.pixfuture.net/w/1.0/afr?auid=485269&cb=INSERT_RANDOM_NUMBER_HERE” frameBorder=”0″ frameSpacing=”0″ scrolling=”no” width=”160″ height=”600″> <a href=”http://ax-d.pixfuture.net/w/1.0/rc?cs=50ca29e11122234&cb=INSERT_RANDOM_NUMBER_HERE” ><img src=”http://ax-d.pixfuture.net/w/1.0/ai?auid=11122234&cs=50ca29e11122234&cb=INSERT_RANDOM_NUMBER_HERE” border=”0″ alt=””></a> </iframe> </noscript> </div> <script type=”text/javascript”> var OX_ads = OX_ads || []; OX_ads.push({ ‘auid’:11122234, ‘slot_id’: ‘slot11122234_INSERT_RANDOM_NUMBER_HERE‘ }); </script> <script type=”text/javascript” src=”http://ax-d.pixfuture.net/w/1.0/jstag”></script>