Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Is there a way to get sessiondetails/conversiondetails with the Shopify api
its not in the order details / conversion details
API_KEY = "xxxx"
PASSWORD = "xxx"
shop_url = "https://{}:{}@xxx.myshopify.com/admin/".format(API_KEY, PASSWORD)
shopify.ShopifyResource.set_site(shop_url)
orders = shopify.Order.find(status='closed') # open, closed, cancelled, any
for order in orders:
print(order.to_json())
on the order data there is a field landing_site that will hold the referrals u send like ?ref=xxx
Hi @GerdiGeni
Session and conversion 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.
CS | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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
User | RANK |
---|---|
5 | |
4 | |
4 | |
3 | |
3 |