I currently have a widget that when clicked on launches an online radio player. I want to be in a position to track that click within google analytics. Usually, I use the <a onclick> tag to capture external links in my google analytics report but now that I am essentially trying to capture a click on widget to lead to an external link, I am a little stumped. Does anyone know how to work around this? Any input would be helpful.
The second thing I am trying to do is to get text to wrap around this widget in wordpress. Once again, is there an easy way to do this? Any help will be much appreciated.
Thanks in advance!