Whatsapp chat on website

The following code snippets will add Whatsapp chat option on your website.
If you have a Shopify store then it will eliminate the need for SuperLemon Whatsapp chat for your website if you don’t use the analytics provided by this app.

The JS code checks if the touch events are supported on the device and based on this the Web link or the App link is served.

 

HTML snippet for Whatsapp chat button

 

jQuery snippet for Whatsapp chat button

Leave a Reply

Your email address will not be published. Required fields are marked *