I have a writer writing for my wordpress blog and sometimes he has to put links into the content. These links has google analytics events tracking on them with javascript. However in his user role, when the post is posted this JS is stripped out. It only works if I set him to admin. Is there any way around this?
You should be able to do it with this plugin http://wordpress.org/plugins/user-role-editor/ I suspect it's the "unfiltered_html" option that will do it.