adds title and analytics tracking