airbyte icon indicating copy to clipboard operation
airbyte copied to clipboard

:tada: Source Shopify: add visits data

Open charbelrseif opened this issue 3 years ago • 13 comments

Tell us about the problem you're trying to solve

Shopify provides details on session information and unique visits. This allows you to understand conversion percentage. How many unique visits in a day result in a sale. It is important to understand traffic to a storefront and has been absolutely necessary since iOS 14.

Describe the solution you’d like

I would love to be able to pull this data.

Describe the alternative you’ve considered or used

No one on the market pulls this data

charbelrseif avatar Dec 08 '21 10:12 charbelrseif

Seems like the Visits API has been deprecated for usage using direct API Calls (even with GraphQL), referred to this information:

  1. https://community.shopify.com/c/shopify-apis-and-sdks/i-would-like-to-ask-if-there-is-an-api-to-get-the-number-of/td-p/933999
  2. https://community.shopify.com/c/shopify-apis-and-sdks/how-to-get-total-sales-and-visitors-of-store/td-p/561932#
  3. In GraphGL Explorer, there is no even analytics node nor visits node: https://shopify.dev/graphiql/admin-graphiql

@charbelrseif Could you please give us more information about how do you get the visits data at this moment on your side?

UPDATED: @sherifnada @misteryeo Assuming the Custom Reports could be fetched using Shopify's /admin/<api_version>/reports.json endpoint, we can predefine and fetch the ready-to-go custom report with the "visits and more" data, build once using UI. The blocker here is that this functionality requires Shopify Plus or Advanced plan. At this moment there is no way to test it out on our test-store. For more info check this page: https://shopify.dev/api/admin-rest/2022-01/resources/report#resource_description

bazarnov avatar Feb 10 '22 10:02 bazarnov

Let's wait to hear from @charbelrseif on the question you posed first!

misteryeo avatar Feb 14 '22 20:02 misteryeo

@bazarnov just to make sure we are aligned, this is not a blocking ticket for Beta certification as it's not required for feature parity w alternative solutions

sherifnada avatar Feb 14 '22 20:02 sherifnada

@sherifnada We assigned this last sprint before we came to the agreement on beta :)

misteryeo avatar Feb 14 '22 20:02 misteryeo

@bazarnov just to make sure we are aligned, this is not a blocking ticket for Beta certification as it's not required for feature parity w alternative solutions

Got your point, I was wondering what we could get from Shopify data, based on customer's request here.

bazarnov avatar Feb 15 '22 10:02 bazarnov

No action required here until we hear from the user.

misteryeo avatar Feb 17 '22 12:02 misteryeo

@charbelrseif could you please check this comment? https://github.com/airbytehq/airbyte/issues/8618#issuecomment-1034775763

bazarnov avatar Mar 07 '22 11:03 bazarnov

Marcos Marx commented: > @bazarnov just to make sure we are aligned, this is not a blocking ticket for Beta certification as it's not required for feature parity w alternative solutions

Got your point, I was wondering what we could get from Shopify data, based on customer's request here.

octavia-squidington-iii avatar Mar 29 '22 19:03 octavia-squidington-iii

Hey guys! I don't get the visits data currently, but it would be awesome to get it to be able to report attribution from Shopify. It looks like Shopify doesn't expose he visits API but a workaround would be to go through the /reports endpoint for Shopify plus users.

"At this moment there is no way to test it out on our test-store. For more info check this page: https://shopify.dev/api/admin-rest/2022-01/resources/report#resource_description" Isn't there a way to create a test store on a PLUS plan?

charbelrseif avatar Mar 29 '22 21:03 charbelrseif

Hey guys! I don't get the visits data currently, but it would be awesome to get it to be able to report attribution from Shopify. It looks like Shopify doesn't expose he visits API but a workaround would be to go through the /reports endpoint for Shopify plus users.

"At this moment there is no way to test it out on our test-store. For more info check this page: https://shopify.dev/api/admin-rest/2022-01/resources/report#resource_description" Isn't there a way to create a test store on a PLUS plan?

@sherifnada WDYT about extending our plan coverage for Shopify account to have the possibility to add the reports streams?

bazarnov avatar Mar 30 '22 10:03 bazarnov

@bazarnov were getting oauth approval from Shopify at the moment, let's wait to get that first then we'll apply for that access

sherifnada avatar Mar 30 '22 16:03 sherifnada

@bazarnov were getting oauth approval from Shopify at the moment, let's wait to get that first then we'll apply for that access

Let's include reports stream enhancement for GA certification.

bazarnov avatar Mar 31 '22 07:03 bazarnov

in order not to block the certification process, I'll detach this one from epic: https://github.com/airbytehq/airbyte/issues/10281

bazarnov avatar Oct 10 '22 15:10 bazarnov