Hi

While clicks are counted Impressions are not.

I have disabled caching (both drupal and ad module) and compression of js and css and the problem persists.

Comments

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

What display method are you using? JavaScript? Raw? jQuery? IFrame? What browsers have you tested with?

I can not confirm this, impressions are being properly tracked in my development environment.

lennart’s picture

JavaScript
Google Chrome

Thanks.

jeremy’s picture

Please try another browser, do you still have the same problem? I will try running Chrome on Linux via CrossOver and see if I can duplicate. Also, try installing a -beta release, as you may have downloaded the -dev tarball while changes were being committed and something may have been broken.

jeremy’s picture

It works fine for me using (an emulated version of) Chrome.

Are you using the ad_cache_file module? You'll need to provide more information if you'd like to track this down. What may be non-standard about your installation?

lennart’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hi,

No, I am not using any kind of cache. But if I am the only one with this problem, it must be endemic to my environment. Thanks for looking into it.

Anyhow - it is not critical to me, because I have other ways of knowing the number of impressions.

Manonline’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta5
Status: Fixed » Active

hi, sorry if my english is not good enough.

i have the same issue.

i'm using raw display method (because in the others the ads are not displayed, an other issue) and i have tested the following browsers: Opera, IE and Firefox (Chrome not yet). The site is hosted in a linux server.

thanks,
mariano.

jeremy’s picture

Status: Active » Fixed

That helped, thanks. I've committed a fix for counting impressions when using the Raw display method. It was actually quite broken, and I'm surprised you were able to display advertisements this way at all.

Manonline’s picture

Hi! thanks for all. but I'm bothering here again hehe.

The impressions still not counted but clicks yes.

		Impressions	Clicks	Click-thru
Last seven days	0	0	0.00%
This month		0	2	0.00%
Last month		0	5	0.00%
This year		0	7	0.00%
Last year		0	0	0.00%
All time		0	7	0.00%

How can I click an ad without viewing it? hehehe. The ads are displayed in blocks provided by the module.

Also, the no-clickeable ads doesn't have statistics like impressions and/or clicks (obviously).

Estadísticas

There are currently no statistics for this advertisement.

Click history

There are no clicks yet.

thanks a lot!
mano.

Manonline’s picture

Version: 6.x-2.0-beta5 » 6.x-2.0-rc1
Status: Fixed » Active
jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Please follow the directions in DEBUG.txt and post the output here. Be sure that you're displaying a valid ad when collecting the debug output.

Manonline’s picture

Version: 6.x-2.0-rc1 » 6.x-2.0
Status: Postponed (maintainer needs more info) » Needs review

Hi Jeremy... I tried following the instructions in DEBUG.txt, but every URL's results in an invalid page (404 error) and redirect me to '/modules/ad/install.php'. Prints still not counted and JavaScript display method isn't working neither.

URL from HTML: http://www.planetaprodentaldesa.com.ar/modules/ad/serve.php?q=1&t=68&u=a...

I copied and pasted converting '&' to '&' (http://www.planetaprodentaldesa.com.ar/modules/ad/serve.php?q=1&t=68&u=a...) with no results...

jeremy’s picture

Status: Needs review » Postponed (maintainer needs more info)

Did you ever track this down and get DEBUG output?

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

No further feedback, I guess you figured it out. Closing.

Manonline’s picture

the problem has solved by moving the ad module from "/modules" to /sites/all/modules".

jeremy’s picture

I updated the readme -- it was giving bad advice.

chrism2671’s picture

Version: 6.x-2.0 » 6.x-2.1

This problem seems to reappear for me having upgraded from 2.0->2.1. I had the same issue when upgrading before from D5-D6 and had to fix it by a complete uninstall followed by a complete reinstall- very messy.

What could be the causes of this problem?

chrism2671’s picture

Status: Fixed » Active
jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Can you collect DEBUG output, as asked above?

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

No further feedback, I guess you figured it out. Closing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.