Model - Bayesian model
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: wikipedia
Test data: Gsheet