I enabled the internal redirect (so I setup the content of a banner so that it actually calls another zone within my OpenX instance).
When this happens, the requests are logged twice (for the initial banner) and not at all (for the final banner).
The impressions are logged twice (for the final banner) and not at all (for the initial banner).
I made a small fix in the plugin:
- svn diff -r48871:HEAD plugins_repo/openXDeliveryLog/plugins/deliveryLog/oxLogImpression/logImpression.delivery.php
- plugins_repo/openXDeliveryLog/plugins/deliveryLog/oxLogImpression/logImpression.delivery.php (revision 48871)
+++ plugins_repo/openXDeliveryLog/plugins/deliveryLog/oxLogImpression/logImpression.delivery.php (revision 48911)
@@ -36,8 +36,8 @@
$aData = $GLOBALS['_MAX']['deliveryData'];
$aQuery = array(
'interval_start' => $aData['interval_start'],
- 'creative_id' => $aData['creative_id'],
- 'zone_id' => $aData['zone_id']
+ 'creative_id' => $adId,
+ 'zone_id' => $zoneId
return OX_bucket_updateTable('data_bkt_m', $aQuery);
Same for the requests and clicks.
I was wondering, is this a bug ? I mean, the fix I made fixes my problem, but what was the point of getting the info from $_GLOBALS to begin with ?