API Auto Fill User Fields Script
-
I am trying to implement auto filling of user fields in zobot-salesIQ chatbot as given in API Call SalesIQ chat this post. But i am not getting it right. I am a no-coder person so not able to troubleshoot this issue.
I have pasted this code just below salesIQ script in body tag.
<script> $zoho.salesiq.ready=function() $current_user = wp_get_current_user(); { $zoho.salesiq.visitor.name("<?php echo $current_user->user_login; ?>"); $zoho.salesiq.visitor.email("<?php echo $current_user->user_email; ?>"); $zoho.salesiq.visitor.contactnumber("<?php echo $current_user->billing_phone; ?>"); } </script>
I hope salesIQ team will be able to help me with this implementation.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘API Auto Fill User Fields Script’ is closed to new replies.