There are a few options, but none are perfect (and one only really works in space).
The issue is that if your wireless transmissions can be detected from a few locations then your enemy can (with a bit of maths) work out where you are. So we try to deny them the signals to analyse
Burst transmissions: Only ping your information every so often. This stops the enemy maintaining a constant lock, or even finding one if you change frequencies often enough. Not perfect as they could theoretically still get a lock, but better than blaring out your position constantly.
Fake them out: Set up other radio stations that fill the skies with random noise. A clever enough enemy will still be able to find you though, as they'll be able to identify and either ignore or destroy your ECM devices. Potentially using drones equipped with their own location transmitting packages (that you can then ignore) would help.
Keep very quiet: Requires a hardwired network of repeater nodes. If you keep your radio signals very short ranged then you can use a network of repeaters (like cell towers) to report last known location without too much risk of the enemy detecting your radio chatter. Downside is you'd need an extensive and well camouflaged network, and there's always the chance it can be destroyed or hacked. Potentially very useful for urban defence forces.
Satellites and lasers: Forget radio. If you're throwing out radio waves you're audible. Instead keep track of a series of satellites and have an automated comm package that maintains an laser lock on the satellite. The satellite can calculate your positions and transmit that back to base. It's undetectable by the enemy unless they're in the path of the laser, and even then they won't be able to use the laser point to triangulate your position unless they see more than one. This won't work indoors, under foliage, under cover, on a cloudy day, if it's too hot, if it's too windy or if you get dusty (or if the enemy deploys smoke), so it's only really a useful method if you're on an airless, clean planetoid.... So instead:
Satellites and directed radio antennae: Not perfect, as radio waves are going to spread more than coherent light, but they'll have a much wider operational range than lasers and they'll still be pretty hard for your enemy to pick out due to their non-homogeneous nature.
In reality? A combination of the above. Having any kind of real-time tracking system is a risk, so swapping methods, frequencies, encryption codes as often as possible in order to keep your enemy guessing as to what they should be looking for is a good idea.
Or just don't try.