Skip to main content
All CollectionsIntegrations
Text Widget for Mobile Websites
Text Widget for Mobile Websites
Updated over a year ago

Text Widget for Mobile Websites

You asked for an easy way for customers using your mobile website to text you. We delivered. This solution is v1.0 of something that we are likely to build upon depending on usage and engagement. This solution will place a widget on your website that only shows up for users who are using a mobile device. If clicked, it will open the mobile operating system's SMS compose screen with your number already pre-populated. Enjoy!

How to use it:

(function() {   var s = document.createElement('script');   s.type = 'text/javascript';   s.id = 'zingle-widget-script';   s.async = true;   s.src = '//services.zingle.me/zingle-widget.js?sms=yournumbergoeshere&color=00A0DE&text=Text Us';   var x = document.getElementsByTagName('script')[0];   x.parentNode.insertBefore(s, x);})();
  1. Take the snippet above and replace the url parameters with your values. Only US phone numbers are supported. Enter phone numbers in the following format: 8588779200. Enter color as hex code without the '#'. Then, enter the text you'd like to see inside the button.

  2. Simply place the modified javascript snippet directly before the closing body tag (</body>) of your website.


Only iPhone and Android mobile operating systems are supported. We hope to increase options in the future, such as widget placement, adding logos, etc.


Did this answer your question?