Working on tracking ad clicks so that userpoints can be accumulated for members on a site when they click an ad.
My module is unable to attach any click events as the Ad module is not calling the attachBehaviors method.

I can override your theme function that renders the javascript in the Ad div, but thought I might pass this on.

If your module could add this feature it would be great for other developers to manage the modified DOM in a nice drupal way.

Cheers,
Gord.

Comments

Jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide an example of how this would be implemented? I'm not familiar with this function.