In the bayesian Bernoulli approach, the outcome has to be binary (e.g. Purchase). As long as this is true, any aggregation of the data can be used.
Behind the scenes: A bayesian test is computed, based on an uninformative beta prior for the probability of success.
See also: https://www.evanmiller.org/bayesian-ab-testing.html
Test data: https://docs.google.com/spreadsheets/d/1VJJ2j5ldrSfvLQatd9SAikIJX_2dhBgDCjkdX_oUgB4/edit#gid=0