Here is what I do.
1. Make all the tracks the same format. I use .wav because .wav files are not companded like .mp3s, and so it is much easier to limit them equivalently.
2. Assemble all the .wav files into a useful group. I like to put them all in a folder, but sometimes group them into styles because similar styles can be treated with similar volume/loudness attenuation.
3. Play the files back and watch the meters. Even with the same gain settings, some will be louder, some will be quieter.
4. Raise the volume of the tracks that are too quiet.
5. Lower the volume of the tracks that are too loud.
6. Put a limiter (UAD LA2A is my choice) and use it to keep any tracks from clipping. The actual settings should be adjusted by ear, but even having this limiter on the tracks will make them sound better.
7. Now this is the most important part: make sure the instruments you are matching to the tracks have similar effects, and are appropriately matched to the backing tracks. You can spend a lot of time making the backing tracks the same volume, and then screw it up by having the live instruments too loud or quiet. That is why I always have a volume pedal in the chain and can use it to match live instrument volume to backing tracks. This also can help with different rooms and the way their acoustics impact your overall loudness.
8. Get the best in-ear monitors you can afford. They will make volume matching between live instruments and backing tracks a lot easier.
9. If you can afford it, hire a sound engineer to run the tracks through a mixer and adjust volume in the mixer.
Paul