is there a way to pull sessions data with API

Solved
evaness
Tourist
8 1 5

I need the sessions information of my shopping site for each week. Normally I can pull from analytics but now we have some issues with analytics. Is there a way to pull this data with API ? 

Accepted Solution (1)

Accepted Solutions
Luke_K
Shopify Staff
Shopify Staff
402 65 92

This is an accepted solution.

Hey @evaness 

 

The Session data is not currently available via the API. The Orders API does contain a "referring_site" field, but there is no other analytics data exposed via the API. Hope that explains at least! Thanks.

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

Replies 10 (10)
Luke_K
Shopify Staff
Shopify Staff
402 65 92

This is an accepted solution.

Hey @evaness 

 

The Session data is not currently available via the API. The Orders API does contain a "referring_site" field, but there is no other analytics data exposed via the API. Hope that explains at least! Thanks.

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
evaness
Tourist
8 1 5

hey @Luke_K 

 

thanks for the answer. 

 

I can see the sessions data through the site. Is there a logical reason why I can't get this with api ? it was important for me to be able to get this data.

Sachi2
Tourist
4 0 1

Hi @Luke_K- Any update on this? I'd love to be able to extract session data via the API.

42technologies
Shopify Partner
12 0 3

We are interested in it as well. We would also like to pull session by Referrer Source and Referrer Name. 

Peter_DhatmaApp
Shopify Partner
13 0 3

We at Dhatma would like very much to have access to this. It would make sense to expose this data through API, it would give a lot more power to apps focused on analytics if they can access historical data.

Klaus_KS
New Member
1 0 1

We are highly interested in this too. The Shopify session data is better than GA4. Let's open it up! 

tiaradwptr
Shopify Partner
1 0 2

Also looking the possibility of this, with the third party cookie and many upcoming tracking restrictions, having store session data from Shopify only make sense

ShopifyDevSup
Shopify Staff
Shopify Staff
709 110 235

Thanks everyone for the interest in an API for tracking session data. I'll be sure to share your use-cases with the product team!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

SozeArafat
Shopify Partner
5 0 1

Hi,

Any update ?

troyha
Shopify Partner
2 0 4

Is there any update on this? This is an important metric to be able to access for multiple use cases.