added changes to analytics