For online random allocation to groups I’d recommend that you use my new study portal which can take account of non finishers.
If you are happy to live without that feature and don’t want hosting of study information, then you could use my previous app which allocated a consecutive participant number suitable for equal distribution to groups.