I can’t get the OnClick to work in visual composer with my Google Analytics
Solution:
use the raw html block in visual composer editor to create your link and add the OnClick – otherwise in all other blocks the OnClick will be stripped from the code.