JavaScript – tracking a button click or download event with Google Analytics and Avada

Under normal circumstances, you can code your link so that it includes an onclick Javascript event that can fire a Google Analytics function. WordPress page builder plugins tend not to play nicely with this in my experience. I've found a way around it that works for me. I wanted to track how many times my Direct [...]

By |2019-12-17T06:24:11+10:00March 20th, 2017|JavaScript, WordPress|5 Comments