Beth Shriever of Great Britain produced a brilliant ride to take BMX gold in the Women’s Elite race at the UCI Cycling World Championships.