added analytics to phone frame