adding analytics for single page site