Adding customer identification to any site

Place the following code with the filled in variables on all pages where the data may be present before the Yappy.IM javascript. The Yappy.im javascript should be placed right before the closing </body> tag on the page with the code below preceding it.

 

<script type="text/javascript">
 window.yappyChatWidgetMeta = [];
 window.yappyChatWidgetMeta.push({'email':'CUSTOMER-EMAIL-VARIABLE'});
 window.yappyChatWidgetMeta.push({'name':'CUSTOMER-NAME-VARIABLE'}); 
window.yappyChatWidgetMeta.push({'phone':'CUSTOMER-PHONE-VARIABLE'}); 
</script>

Leave A Comment?