diff --git a/source/android/src/eu/alebianco/air/extensions/analytics/functions/TrackData.java b/source/android/src/eu/alebianco/air/extensions/analytics/functions/TrackData.java index b6a5c2b..53bda65 100644 --- a/source/android/src/eu/alebianco/air/extensions/analytics/functions/TrackData.java +++ b/source/android/src/eu/alebianco/air/extensions/analytics/functions/TrackData.java @@ -283,7 +283,7 @@ private FREObject trackTransaction(FREContext context, Tracker tracker, FREObjec if (shipping != null) builder.setShippingCostInMicros((long) (shipping * 1000000)); if (tax != null) - builder.setShippingCostInMicros((long) (tax * 1000000)); + builder.setTotalTaxInMicros((long) (tax * 1000000)); Transaction transaction = builder.build();