We have an iOS app with in-app purchase and we want to track transactions with Google Analytics (enhanced ecommerce). We already have the proper handling for priceLocal, that's not the issue... we need to tell GA the specific currency code in use by the user. This info doesn't seems to be available directly and we would rather not do our own lookup.
Current code abstract:
// Set locale
NSLocale *storeLocale = product.priceLocale;
// instead of storeCountry we need storeCurrency, like USD, CAD, EUR, GBP...
NSString *storeCountry = (NSString *)CFLocaleGetValue((CFLocaleRef)storeLocale, kCFLocaleCountryCode);
[ecommerced setObject:storeCountry forKey:@"currencyCode"];