Edit in JSFiddle

var usblDocRef = document.referrer;

window.usabilla_live("data", {
	custom: {
  	"referrer": usblDocRef
	}
});