Google Analytics event tracking using element attributes