Unless things have changed since I last checked, Google Analytics is not blocked in China. It's one of the few Google services that are still usable.
That said, if things have changed and it is blocked -- you'll need to research alternative analytics engines and implement your own custom provider.
As Nuno rightly pointed out, we built a plugin mechanism that allows you to integrate with any analytics engine you want and still get the same functionality. Creating your own provider is fairly simple: you just extend the AnalyticsManager class and configure your class in the configuration file. Any complexity will likely come from the actual integration with your chosen engine.