How to get analyticsToken via graphQL?

BudaDigital
New Member
8 0 0

Hi, I'm trying to get my analyticsToken through GraphQL Admin API and I'm getting the "analytics_token access denied" error.

The documentation show me that it's possible but I didn't found any way to get it.

Am I doing something wrong? Someone else has faced this issue before and can help me with it?

0 Likes
BudaDigital
New Member
8 0 0

Someone? 
Any updates about this?

0 Likes
CalD
Shopify Staff
Shopify Staff
90 8 12

Hey @BudaDigital,

Have you read through the 'Get store metrics with the Analytics API' tutorial yet? You'll need an Advanced Shopify plan and up for it to be available.

CalD | Developer 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

0 Likes
BudaDigital
New Member
8 0 0
Yes, I'd checked that solution but I need to get and process this
information at the server side, this tutorial only covers the client side
and inside an embedded app. Doesn't work for me.

Do you have any alternative?

Thanks
0 Likes
BudaDigital
New Member
8 0 0

@CalD any updates at Shopify's side?

This is a very important point to my analytics team

0 Likes
CalD
Shopify Staff
Shopify Staff
90 8 12

Hey @BudaDigital,

ShopifyQL requests currently must be made using the Embedded App SDK and I'm not aware of any planned updates or alternatives in that regard.

CalD | Developer 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

0 Likes