I use the McHenry under-track magnets. They work fine and cost only $1.58 each at my LTS.
They also come with a yard-worker (brakeman?) figure for a position marker, but the figures can be used for other things. I use Evergreen square rod to make something like a mile-marker post to...