A generalized web tracking library