codeforamerica / brigade

The Code for America Brigade Website
https://brigade.codeforamerica.org
MIT License
100 stars 88 forks source link

Add a way to count pageviews to Brigade pages #477

Open tdooner opened 6 years ago

tdooner commented 6 years ago

Right now it's really hard to group Brigade pages in Analytics because the URLs are murky, e.g. /brigade/tools is a page of tools but /brigade/Open-Oakland is OpenOakland's brigade page.

Perhaps we can use custom dimensions for the type of page: https://support.google.com/analytics/answer/2709828?hl=en

fritzjooste commented 6 years ago

I think the simplest solution is adding a label to the page titles. For example, we could add 'Brigade Profile' somewhere in the title, and then in Analytics based on a page title rule. I would suggest something like "Open Oakland: Brigade Profile | Code for America" - then we can group by "Brigade Profile".