Hi,
I’m looking for a way to retrieve session data through the latest version of the Shopify GraphQL API. Specifically, I want to access metrics such as sessions, online_store_visitors, utm_source, utm_medium, and referrer_source, but I’m seeing that maybe this isn’t possible via the API.
Right now, I have to manually download and send reports, but I’d like to automate this process using the API instead. To give you an idea, here’s the ShopifyQL query I currently use in reports:
Is there a way to achieve this via GraphQL? If not, what would be the recommended approach to programmatically access session-related data?
Thanks for your help!