How to link zopim chat widget with custom form?
답변함Does anyone know how to link custom form with zopim chat? I have a form that contains 2 questions and one listing with radio buttons. If customer fills that form, zopim chat widget have to open zopim chat widget with provided information.
For example:
Client answers "Answer1" to first question and "Answer2" to second question. Client chooses radio button with value "radiobutton2" out of radio button listing. Then he clicks on "Submit" button and zopim chat widget automatically opens up and customer is automatically saying there following line of text: "Hello! I want to sell you Answer1 for Answer2 with radiobutton2!"
Is it possible?
I also found some code, but I don't know how to link it with my form and answers.
<a href=”javascript:void($zopim.livechat.say(‘Text here.‘))”>Find out the size</a>
-
Hi Matt,
Thanks for explaining what you want to achieve. Based on what you want to do, you can use the Javascript API to add tags to the visitor and based on the tags create a trigger to send a custom message when they request to chat.
Here is the API docs for adding tags based on what is selected on the form: https://api.zopim.com/files/meshim/widget/controllers/LiveChatAPI-js.html#addTags
You would need to create a trigger for each permutation of automatic message you want to send out based on what the visitor enters in the custom form.
Using the .say API would send the message as the visitor and not the agent.
-Ramin
-
Hi!
I mean something like this here: https://r2pleasent.com/sell/runescape-2007/
If you scroll down, you will see.
Best wishes
Matt
댓글을 남기려면 로그인하세요.
2 댓글