Download data from analytics tab

Hi, I wonder if there’s a way to download in text format the data shown in analytics at this moment. That would be very helpful to compile longer than 30 day periods without having to manually record them every now and then.

thx

4 Likes

Hi there,

No feature present or planned, but you can follow the workflow that @cfjedimaster documented in his blog post, here: Building a Netlify Stats Viewer in Vue.js

FYI - That API is NOT guaranteed to remain stable, so it may change unexpectedly at any point in the future.

We do have an open feature request on this behavior to which I have added this thread so we can notify you if things change in our product.

2 Likes

Hi, what is the current status of this?

I would like to download reports as well.

hi there, nothing new unfortunately, but we’ll keep an :eye: on it!

The mentioned solution from Raymond Camden’s blog does not work anymore, because the API endpoint has changed.

I have written a script to download the information from the analytics tab and save it to a JSON file. If there is any interest, I could create a public GitHub repository and share my code within a few weeks.

1 Like

+1 I also came here to see how to get my netlify analytics info through an api. Has anyone tried using the unofficial v2 endpoints described in Netlify Analytics API | Den ?

Yes, my solution uses the v2 endpoints of netlify analytics.

Hi @DanielHefti :wave:t6: , thanks so much for sharing that solution!