make analytics work with urls