How to get analyticsToken via graphQL?

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?

Someone?
Any updates about this?

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.

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

@CalD any updates at Shopify’s side?

This is a very important point to my analytics team

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.