Interested in Installing Piwik but have Questions

I was looking through the demo and Piwik looks like exactly what I need for my site. I just want to know if it offers the following features…

A way to find out if someone visits my site and then clicks a link to go to another site i.e. if I have an ad is there a way to determine how many click it? (is that what that list of external sites is?)

Also is there a way to see the statistics of each page individually i.e. the number of people who clicked on the contact link?

All help is greatly appreciated

Use the API and filter_pattern param.

thank you fopr the info, I will install and test Piwik in a few days and post if I have questions trying to figure this out

so I installed it and I cant seem to find that filter param in the api