My players killed the goblins that ambushed them but didn't take the risk to follow the tracks to the hideout. They instead continued to Phandalin to bring the wagon to the provisioner. They immediately returned to the ambush spot next morning to follow the goblin trail on the way to the hideout.