# Historical Analytics by Date

**URL:** <https://community.glideapps.com/t/historical-analytics-by-date/71737>\
**Category:** Ask for Help\
**Created:** [March 17, 2024, 2:02am UTC](https://community.glideapps.com/t/historical-analytics-by-date/71737 "2024-03-17T02:02:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 17, 2024, 11:51pm UTC](https://community.glideapps.com/t/historical-analytics-by-date/71737/4 "2024-03-17T23:51:48Z")

</div>

> [@William\_Ayer](#):
>
> The only reason I was thinking it would need to be external from Glide is so that I could schedule it to automatically run every 24 hours - as far as I can find, Glide doesn’t have that capability yet. So my thought was to build a schedule in Zapier which queries the data from “realtime-analytics” and posts it back into “historical-analytics”

I have the exact need as you for my last project. I think there are 2 ways to go here:

- If you have access to Glide API’s query (on Business/Enterprise), perhaps you can query the whole tables and do aggregation to get the right numbers (of Users, Events, Events Complete - basically re-calculating them in Make/Zapier), then push those to your analytics table.

- The alternative is to duplicate your app, which will keep your tables intact. Change your app to fully public, clear all tabs and add only one new, built on top of your realtime-analytics table. Add a button that will add a row to the historical-analytics table.

- To fully automate the 2nd option, I use [Automa](https://www.automa.site/). My scenario looks like this.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a5a108a9ec2b46e4a5f7fa6faf6c5d3e7302ecd7.png)

I run it locally, at a time when I know my laptop is surely on.

---

_[View the full topic](https://community.glideapps.com/t/historical-analytics-by-date/71737)._
