How are Shopify sessions measured?

Hi,

I’d like to know if there is any official documentation on how Shopify sessions (reports: sessions over time) are measured? Our app billing is based on Shopify session from a merchant and we have implemented a similar tracking mechanism, but some in certain cases our own values differ from the values reported by the official Shopify report “sessions over time”.