What is the revenue source from Shopify that you are using for revenue and cohort metrics?

We pull Total Sales. We sum all the Total Sales value for all the orders of all the customers in each cohort and then we build the cohorts based on the date of the first purchase. This includes all revenue - both transactional and subscription revenue.

Total Sales = gross sales - discounts - returns + taxes + shipping charges.