How to use the click to SMS feature?

You can include a button in your landing page to send an SMS to a phone number, by simply linking the button to the following URL:

http://ads.mediasmart.es/landing/sms?number=PHONE_NUMBER&text=BODY_OF_THE_MESSAGE

where:

  • PHONE_NUMER is your company phone number and

  • BODY_OF_THE_MESSAGE is the text you want to add, it should be escaped.

A simple hyperlink that uses this feature would be as follows:

<a href="http://ads.mediasmart.es/landing/sms?number=PHONE_NUMBER&text=BODY_OF_THE_MESSAGE"> Send an SMS </a>

Directly from a banner

You can use this feature directly from an ad, banner, so that the SMS is sent when the user clicks.

In this case you have to set the following URL as click URL in your mediasmart campaign:

http://ads.mediasmart.es/landing/sms?number=PHONE_NUMBER&text=BODY_OF_THE_MESSAGE

where:

  • PHONE_NUMER is your company phone number and

  • BODY_OF_THE_MESSAGE is the text you want to add, it should be escaped.