"Since Al Hanisim serves as an expression of thanksgiving, it is most fitting that it is placed into the benediction called Hoda’ah (“Thanksgiving”)." (source)
"...and remember to add Al ha-Nisim for Purim." (Glinert)