added analytics to mechandize