added delay so request to google analytics will not be cancelled