I have Live Chat configured in my salesforce application. I'm tracking the source URL before the user clicks the live chat button through
liveagent.addCustomDetail('source_url', window.location.href, false);
The source URL is visible in Live Chat under Visitor Details when a live agent is talking to a customer. How can I save this URL in a custom field in the Live Chat Transcript object? Or any other place in SF for that matter?