Jump to content

Recommended Posts

Posted

I just installed v5.0.5 on a subdomain and have setup 4 HTML5 banners in the same zone. Delivery mode is local tag and I have setup crontab for maintenance script.

The HTML5 banners are displaying as expected but the impression count is way too low. I enabled request logging in "Banner Logging Settings" in order to debug. I see that the data in `rv_data_bkt_r` matches my expectations fairly well, but HTML5 banner tracking rarely makes it to `rv_data_bkt_m`. 

I setup a normal image-banner in the same zone as the HTML5 banners and tracking seems to be working fine with the image-banner. So impressions for the image banner match my expectations.

In the access log I see requests to /www/delivery/lg.php for the image banner. I believe lg.php is responsible for tracking? For the iframe banners I see requests to /www/delivery/ck.php but not lg.php.

I call the view_local() function to get the array with the html-code for the banners. I notice that the returned array also mentions lg.php for the HTML5 banners in $phpAds_raw['logUrl'] - The URL looks something like this: /www/delivery/lg.php?bannerid=6&campaignid=1&zoneid=1&loc=xxxxx

Maybe I can fix the wrong impression count for the HTML5 banners by inserting an image with $phpAds_raw['logUrl'] as src? Or maybe I am missing a config setting somewhere?

 

Posted

I figured it out myself ? The HTML5 banner relies on javascript to create an image that calls /www/delivery/lg.php. Now that js wasn't executing because it was in my Vue template, so I had to create a workaround. The stats collected in rv_data_bkt_m now match requests to /www/delivery/lg.php perfectly. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...