import { trackPurchase } from '@redux-beacon/react-native-google-analytics';
const somePurchaseEvent = trackPurchase((action, prevState, nextState) => {
product: { /* fill me in */
category: /* (optional) */,
variant: /* (optional) */,
quantity: /* (optional) */,
couponCode: /* (optional) */,
transaction: { /* fill me in */
affiliation: /* (optional) */,
revenue: /* (optional) */,
shipping: /* (optional) */,
couponCode: /* (optional) */,
action: /* fill me in */,
category: /* fill me in */,