adding analytics to addNanny