Very interesteting question.
This would open up the gate to many database driven app. I would like to know the answer on this as well.
This isn't an Animate-specific issue, but I thought I'd take a stab at it anyway. As with anything else on the web, you need to have a server script to handle incoming data, so it's all back end work. Your page will need to call that script and provide parameters to that script that it can read.
The easiest way I can think of to do this (and this is all highly theoretical, so please make sure it's secure before you implement it) is to create a 1px div that has visibility off. Whenever you click, you can load your URL in that div, which then increments your counter on your db.
Hope that helps inspire some interesting solutions!
I just posted on the following discussion on this:
Like Elaine said, I haven't begun to look at security issues yet but it was amaizingly easy with redisign's email script!