如何在Vicidial脚本中动态注入Lead Status(线索状态)
Vicidial 注入线索状态到 LimeSurvey 脚本的解决方案
正确使用 Vicidial 动态变量
Vicidial 的脚本变量区分大小写,你之前尝试的小写--A--status--B--无法生效,需改用大写的STATUS内置变量,替换后的 iframe 代码如下:
src="https://limesurvey/index.php/153496?newtest=Y&lang=es-CL&lead_status=--A--STATUS--B--" style="background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="--A--script_width--B--" height="--A--script_height--B--" STYLE="z-index:17">
该变量会自动获取当前通话线索的最新状态(如NEW、CALLBK、DNC等)。
额外排查要点
如果替换后仍无效,可检查以下内容:
- 版本兼容性:部分旧版 Vicidial 需使用
--A--lead_status--B--作为替代变量 - 权限验证:确认当前坐席账号有权限读取线索状态相关变量
- 变量测试:先在脚本中单独输出
--A--STATUS--B--,验证Vicidial能正常渲染出状态值后,再嵌入到LimeSurvey的URL参数中
内容的提问来源于stack exchange,提问作者xerac
相关产品推荐
相关产品推荐

