icemaker slow making ice

I have a whirlpool frige serial #ew118232 i had to change freezer fan when I did I had to remove the ice maker. when I rplacd it it had a wire with a little clip on it that didn’t go into the wire harness i can’t find where it goes if anyone can help? I think it might be some kind of thermostate wire.

Thanks Al