Improved errors and click tracking.
Updated example to use API v2.