I was free riding before and after the Tour routes and getting the expected 20XP/km. I ran Zwift on my iPhone.