CityofSantaMonica / analytics.smgov.net

Website analytics for the City of Santa Monica
https://analytics.smgov.net
Other
6 stars 4 forks source link

Bring back the domain selector? #47

Open thekaveman opened 7 years ago

thekaveman commented 7 years ago

Related to #46, this would give users another way to view the data that may lend more/different insight.

allejo commented 7 years ago

Should Jekyll generate dedicated pages for each of the domains or should we just have JS update the links for each of the charts to the respective folder of data?

thekaveman commented 7 years ago

I think the latter (update the data inline) would be more appealing from a UI/UX point of view. What do you think?

allejo commented 7 years ago

I'd be in favor of updating things in place, like you said seems cleaner

allejo commented 7 years ago

Preliminary support for this has begun on the feature/domain-selector-47 branch. Right now, I'm replacing all of the calls to the aggregated data to calls to individual data. However, there are some websites (e.g. Annual Report) that doesn't have "real-time" data so the "X people on City websites now" can't be updated. Thoughts?

thekaveman commented 7 years ago

Did we exclude certain sites from real-time due to GA quotas?

In any case, can we just hide the "X people on site now" counter for those sites that don't have real-time? We can revisit why those sites don't have real-time later, if needed.

allejo commented 7 years ago

Did we exclude certain sites from real-time due to GA quotas?

Yup

can we just hide the "X people on site now" counter for those sites that don't have real-time

Sure, I'll do that