Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

Auto complete URL with custom variables

$
0
0

Hi guys,

 

I need some help from you all, so...

 

Here's the thing, When my client enter's the chat, in the Info tab, I have a custom variable called "login". all good to that... but!!!

 

When the chat is established, I have a Operator Alert's rule, who insert's a custom TAB who calls a custom URL, and I need to place the custom variable's info in the end of that URL...

 

I tried some Macros and other codes I saw searching the community... but nothing works...

 

Below is the code i'm using in the rule:

 

<html>

<!--openNewTab="CAL" keepBrowser="true"-->

<SCRIPT>document.location='http://cal.xxxxxxxxxxx.com.br/search?&search[type]=customer_login&search[q]=$!{vars.get("login")}';</SCRIPT>

</html>

 

I need to replace the $!{vars.get("login")} to the info from the custom variable login.

 

Any Ideas?

 

Tnks!


Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>