On my site I am showing amazon widgets in blocks. I have the blocks setup to display in different countries and I would like a way to see how many times each block was displayed. Does anyone know a module that would allow this or how to modify the block to allow php to update a mysql table?

My site is www.serviidb.com and the block is at the bottom of the page.

Thanks in advance.

Comments

mylocaltrades’s picture

I doubt there will be a module as your needs are quite specific and I guess most would use a banner / ads system. Saying that you could probably create a custom module using hook_block_view

Offering Drupal website services to the UK - www.my-local-trades.co.uk