My Syrian picked out a corner of the cage and started going. It was not hard to figure out where it was because I have white colored bedding, and I also did the sniff test.
If you find out where your hamster went, take a little bit that's pee soaked and put it in. Then clean the rest out, and put the potty in that spot.