Potty training

Sl

We are trying to potty train my son who will be two next month. He knows what to do and has peed and pooped in the potty before but for the most part we put him on there and he won’t do anything but he will leave the bathroom and go pee on the floor.

So I guess I’m just curious of other things I can try?