diff --git a/Sources/mParticle-Appboy/MPKitAppboy.m b/Sources/mParticle-Appboy/MPKitAppboy.m index 0870e1c..e50f343 100644 --- a/Sources/mParticle-Appboy/MPKitAppboy.m +++ b/Sources/mParticle-Appboy/MPKitAppboy.m @@ -16,7 +16,7 @@ static NSString *const emailIdTypeKey = @"emailIdentificationType"; static NSString *const enableTypeDetectionKey = @"enableTypeDetection"; static NSString *const bundleCommerceEventData = @"bundleCommerceEventData"; -static NSString *const replaceSkuAsProductName = @"forwardSkuAsProductName"; +static NSString *const replaceSkuWithProductName = @"replaceSkuWithProductName"; // The possible values for userIdentificationType static NSString *const userIdValueOther = @"Other"; @@ -552,7 +552,7 @@ - (MPKitExecStatus *)routeCommerceEvent:(MPCommerceEvent *)commerceEvent { } NSString *sanitizedProductName = product.sku; - if ([@"True" isEqualToString:_configuration[replaceSkuAsProductName]]) { + if ([@"True" isEqualToString:_configuration[replaceSkuWithProductName]]) { sanitizedProductName = product.name; }