replaced console.log with actual analytics calls... yeah, it's late!