The right way, is to do all velocity analysis backward-looking. Create a culture where code reviews are done constantly and long after they've been merged in.
Use metrics like KLOC, duplicate lines of code, changes to code, stories completed, etc. That's the way to measure velocity. Measuring done done done by end of sprint, is really wasteful as some engineers get it into their head to pad their estimates to make sure it's completed by some arbitrary date. This just leads to a culture of padding estimates rather than completing work when it's done.
That said, I do like letting engineers pull tasks as they like. If a more senior engineer in a certain area can complete a task better and more thoughtfully, than he should have a chance to pull it.
This also does require technical PMs which can discuss and understand the cost of their stories. This is important regardless however.
- Treat communications as a first-class management consideration for yourself and every team member. Make sure your team gets the message.
- Treat telecommunications issues, especially the quality of teleconference calls, as a top-level issue. Otherwise the remote worker will, again, be at an information disadvantage. He/she will have to choose between (a) repeatedly asking everyone in the meeting to repeat themselves, move closer to the mic, adjust the camera orientation, etc., or (b) miss some potentially important communication.
- Remember that every fun perk for physically present staff (going out to lunch together, having an after-hours beer, etc.) runs the risk of making the remote worker feel left out and not an integral member of the team. Treat this as a management problem.
If these problems are manifest, not only will you suffer the direct implications of missed communications, but you're likely to face a disengaged worker, which is fun for nobody.