set up button click event tracking