SMS inserts

Common tags used in text messages

You can use all tags from Insert usage.

If the message includes links, you can automatically add parameters (such as UTM) and track click events by using {% preparelink %}{% endpreparelink %}. This will generate a redirect URL based on the hosting environment of your workspace:

If your workspace is hosted on:

  • Microsoft Azure, the default domain redirect URL is link.snrs.it,
  • Google Cloud, the default domain redirect URL is link.geb.snrs.it.

Usage

{% preparelink %}YOUR_URL{% endpreparelink %}    

Example of a parsed link:

/?snrs_medium=email&snrs_action=newsletter.click&snrs_test=false&snrs_var=4715029&snrs_cp=6b716f86-a14d-4b8c-8795-872f7432a046&snrs_cl=b5d8c721-c2b7-42ac-9cd5-7714dedf73bf&snrs_category=client._DEVICE_.browser.mail&snrs_he=1940871749&snrs_redir=1

If you send links in text messages, you can use a Jinjava code to shorten the URL addresses to make the text message look professional and the link more reliable.

  • The default domain of the shortened links is snrs.it. If you want to use your own domain, see Custom subdomain for shortened links.
  • The shortened links don’t require HTTPS. If you include a link with http:// in the message, it will be redirected to HTTPS when opened.
  • You can combine short link insert with prepare link to track URL’s parameters (such as UTM) and click events from a message.
WARNING: The shortened link is valid for 14 days from the date the message is sent.
Jinjava code Description
{% shorturl %}YOUR_URL{% endshorturl %}
The URL is shortened, however, the clicks aren’t collected.
{% shorturl %}{% preparelink %}YOUR_URL{% endpreparelink %}{% endshorturl %}
The URL is shortened and the clicks in the link are collected, so this event can be used in analyses.

Example

{% shorturl %}{% preparelink %}https://example.com/season-discounts/?utm_source=examplecom&utm_medium=slider&utm_content=examplecom&utm_term=discount-amazon-perf-2_W3&utm_campaign=Campaign-OnGoing{% endpreparelink %}{% endshorturl %}
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker