Welcome to WebmasterWorld Guest from 54.198.100.0

Forum Moderators: mack

Message Too Old, No Replies

Question about Modifications to a widget

     
1:14 am on Jan 20, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:July 28, 2010
posts: 50
votes: 0


As the subject of this post suggests, this is with regard to tweaking code related to widgets. Widgets are typically in the form of javascript.

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!