Non invasive client side analytics for the web