added click tracking to console.log