Ever wonder how to add subscribers to your text marketing campaigns from your website? It's possible with a little bit of HTML and the Marketing 360® Text app.
Your community needs to text your keyword to 39970 to subscribe, and this little bit of HTML generates the text for them so all they have to do is hit send!
Use the HTML block so that when a user clicks the hyperlink from your website, they are directed to their messaging app on their phone with a pre-built text to 39970 that includes your keyword.
Hyperlink text to generate the text to subscribe
Note: This HTML needs to be added to the HTML content editor. It will not work on a front-end, visual editor. If you're on Websites 360®, add an HTML content block to the page and add this snippet.
Find the exact place in the page where you want to request text subscribers and paste this HTML code. It's different HTML for Android and iOS users, so you may want to consider a double button option with "Click here for Android" and "Click here for iOS". You'll notice a subtle difference in the code. Android messaging apps use the question mark (?) after the phone number to text, while iMessage uses an ampersand (&).
<a href="sms:39970?body=KEYWORD">Android user? Subscribe to texts now!</a>
<a href="sms:39970&body=KEYWORD">iOS user? Subscribe to texts now!</a>
The pieces of the code above that are in bold should be customized for your business.
39970, in this example, is the number to text to subscribe. For the Marketing 360 Text app, 39970 is always the number to text. If you're using a different text provider, enter the number that people need to text to subscribe.
KEYWORD, in this example, is the primary keyword or list keyword you want people to text to subscribe. The primary keyword will add the user as a general subscriber and can generate the associated texts. You can also do a specific list keyword, such as KEYWORD LIST, for users to subscribe to a specific campaign or journey of your text marketing.
Note: Please replace KEYWORD with your business' primary keyword or list keyword. For example, the code for the Marketing 360 website may look like this: <a href="sms:39970&body=MARKETING">iOS user? Subscribe to texts now!</a>
Android/iOS user? Subscribe to texts now!, in this example, is the text that you want to display on the front-end of the website. It's the text that will be hyperlinked and can be customized to whatever you want to say.
The user experience from the front end
As someone using the website with this hyperlinked subscription option, the experience for clicking it is different depending on which device the user is on.
Desktop users will use any messaging app that is connected. If there is nothing connected, users will typically see a pop-up looking for which messaging app to connect to the website. Then, it'll create a text with the KEYWORD and the message ready to send to 39970.
Mobile users will be redirected to their messaging app with a text containing the KEYWORD and the message ready to send to 39970.
All they have to do is hit send on their messaging app and they'll be subscribed to your business' text marketing.