Change IP to Cusom Variable in LIVE

On our website we generate an unique ID for our visistors. this is connected to our CRM. so we can see if the visistor is one of our customers.

I managed to set this unique ID as a custom variable and that is stored in DB. So far sos good.
Now i need to modify the LIVE widget so instead of the IP number i can put in the API link of our own CRM.

I can see in line 42 of the visitorlog.tpl de code IP: {$visitor.columns.visitIp} so this is where the ip is shown. this i want to change or add to our own ID

The Question is how can i show the custom_var_v1 colum fields instead of the IP number.

look at the visitor log, which displays the custom variables, you can reuse the code