Adding a GA Goal to Olark

Is there a way customise the code to be able to trigger a chat goal in Analytics?

Our developers have suggested the tweak below, but I am unsure how to configure that in the settings of the Olark account.

Is it possible?

Thanks

<div id="habla_topbar_div" class="habla_topbar_div_normal hbl_pal_title_fg hbl_pal_title_bg habla_topbar_div_compressed ">

to:

<div id="habla_topbar_div" class="habla_topbar_div_normal hbl_pal_title_fg hbl_pal_title_bg habla_topbar_div_compressed" onclick="_gaq.push(['_trackPageview', '/chat-opened']);">

Customer service software powered by Desk.com.