Add optional parameter transactionId to trackRevenue methods

Pass a transaction identifier to `trackRevenue` to avoid tracking a the same revenue twice.