Updated for Google Analytics SDK for iOS v3.0, tidied up in preparation for adding Test Flight