news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Date picker breaks newsletter analytics page #1262

Open TylerFisher opened 2 years ago

TylerFisher commented 2 years ago

When I change the start date of the measured data in the analytics dashboard newsletter analytics page, I receive an application error (means something is returning a 500).

chelsea-tnc commented 2 years ago

Repro steps: 1) Visit the site for an org: https://[YOUR_ORG]/tinycms/analytics/newsletter. Be sure to use an organization that has more traffic to repro the issue reliably. 2) Change the start date for the data range

Expected Result: Data should load according to the date range.

Actual Result: An application error occurs. Screenshot below.

image (1)

Note: This issue does not come up as often because some orgs prefer to use Google Analytics directly versus TinyCMS' analytics features.