Skip to content

Commit

Permalink
fix: fixed issue with event name mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Desu Sai Venkat committed Apr 13, 2023
1 parent 10ccdbc commit b3c7c4f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ private void processEvents(RudderMessage message) {
afEventProps.put(AFInAppEventParameterName.AD_REVENUE_AD_TYPE, property.get(CREATIVE));
if (property.containsKey(ECommerceParamNames.CURRENCY))
afEventProps.put(AFInAppEventParameterName.CURRENCY, property.get(ECommerceParamNames.CURRENCY));
afEventName = AFInAppEventType.AD_CLICK;
afEventName = AFInAppEventType.AD_VIEW;
break;
case ECommerceEvents.PROMOTION_CLICKED:
if (property.containsKey(CREATIVE))
afEventProps.put(AFInAppEventParameterName.AD_REVENUE_AD_TYPE, property.get(CREATIVE));
if (property.containsKey(ECommerceParamNames.CURRENCY))
afEventProps.put(AFInAppEventParameterName.CURRENCY, property.get(ECommerceParamNames.CURRENCY));
afEventName = AFInAppEventType.AD_VIEW;
afEventName = AFInAppEventType.AD_CLICK;
break;
case ECommerceEvents.PAYMENT_INFO_ENTERED:
afEventName = AFInAppEventType.ADD_PAYMENT_INFO;
Expand Down

0 comments on commit b3c7c4f

Please sign in to comment.