Add optional parameter transactionId to trackRevenue methods

Pass a `transactionId` to `trackRevenue` to avoid tracking duplicate revenue events.