Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Can these items be obtained using the GraphQL Admin API or from Google Analytics?

Can these items be obtained using the GraphQL Admin API or from Google Analytics?

ZHONGCIXI
Shopify Partner
2 0 0

Can the following items be obtained using the GraphQL Admin API or from Google Analytics?

・sessions
・visitors
・clicks
・impressions
・Paid,organic,other - Type of online surface that your customer was on before landing on your online store.
・Referrer source

 

It would be helpful if you could indicate each item as follows: GraphQL Admin API → 〇, Google Analytics → ×.
If it can be obtained using the GraphQL Admin API, could you also show us the GraphQL for obtaining it?
(I looked at the GraphQL Admin API reference, but I couldn't find any relevant items.)

 

Click to expand...


 

Reply 1 (1)

SBD_
Shopify Staff
1831 273 422

Hey @ZHONGCIXI 

 

Unfortunately this information isn't available from the API.

 

Yes, you could use Google Analytics.

Scott | Developer Advocate @ Shopify