open-city / recycling

Crowdsourcing data about which residential buildings do not have recycling in Chicago
MIT License
27 stars 24 forks source link

Google Analytics tracking for async page loads #108

Open benwilhelm opened 9 years ago

benwilhelm commented 9 years ago

I've added google analytics to the footer of the main site, but that will only show us full page views. If we want to start tracking the funnel to conversion (report submission) we need to implement asynchronous logging. Ideally we'd trigger on each call of WIMR.dialog.showTemplate. Additional goals might be email submission and facebook/twitter shares.