If using the Java applet client instead of the DHTML client, it's very similar but instead of replacing "" with your data here:
var CUSTOM_INFO = "";
...you'd need to add this entire line near the other param tags:
Once you do that, your data should appear to the agent in the "Notes" tab. Or you can customize the Handlers to do things with that data.
ININ Web Chat Software Engineer