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:
var s = document.createElement('script');
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');
- 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.
Only iPhone and Android mobile operating systems are supported. We hope to increase options in the future, such as widget placement, adding logos, etc.