A Generic Tracking Library for Web Applications