added server-side analytics for clean routes