Added optional purchase-complete tracking