Tracking is not in the game.
This, what you mean, is simple following someone. It's easy to prevent: Use your brain. Don't build your tent too close to a city and on leaving a city, just like the NCR, wait a few seconds to see, if someone is following you. If someone is following you, you can either go back into the town or kick him out of your group on worldmap.