Most Interface templates already include a Send to Phone link. This link allows users to send a SMS text message which contains the location details. For example, the Rich Media template shows the send to phone link as an Image overlay as shown below:
If you do not have an image for each location, you can drag the Send to Phone into the Body container and provide some link text for Send to Phone as shown:
Clicking the Send to Phone link displays a modal dialog that asks the user for their phone number and it then sends a text message to the entered phone number.
To change the content delivered to the user, click Edit Template as shown below:
This allows you to provide a Twig Template to specify the content the user receives.
For location attributes that may include special characters, Twig’s default is to convert those to HTML entities. To preseve the values exactly as in the location record add the | raw modifier as shown below:
On devices that support the naviator.share API, MetaLocator uses the native OS “Share” dialog instead of prompting the user to enter a phone number. This allows iOS and Android users to quickly send to a number of platforms, including SMS.
The below section is for users of our legacy Interfaces only.
This video shows the step-by-step creation of a Send to Phone link in a test interface.
SMS features are currently available to US subscribers to our SMS Text addon only.
To request the SMS Text add on, contact the help desk.
MetaLocator staff will configure a dedicated phone number for your account. You may request a preferred area code. Not all area codes are available, so be sure to specify a primary and secondary preference.
Once configured, you will have the ability to create fields of the “SMS Form” type. This field type presents a “Send to Phone” link that, when clicked, displays the “Send to Phone” form. This field can be added to your templates by following the instructions for MetaLocator templates.
You can control the format of the content delivered to the end user. The format is controlled by a MetaLocator template designated under the Interface “Contact Form Settings” > Send To Phone Item Template. This format can be used to structure the content of the message received by the end user.
Be sure to keep the SMS message content brief. Content over 128 characters will still function seamlessly, but can cause the SMS provider to break the message into multiple segments, which are still delivered as a single message, but will be billed once for each 128-character segment and will count as such toward your SMS Credits.