# Shortening URL in SMS

**URL:** <https://forum.mautic.org/t/shortening-url-in-sms/20373>\
**Category:** Product Support\
**Created:** [August 5, 2021, 10:17am UTC](https://forum.mautic.org/t/shortening-url-in-sms/20373 "2021-08-05T10:17:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [August 5, 2021, 10:17am UTC](https://forum.mautic.org/t/shortening-url-in-sms/20373/1 "2021-08-05T10:17:07Z")

</div>

Can anyone explain or point me in the right direction on how to shorten urls in mautic SMS

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [August 5, 2021, 12:55pm UTC](https://forum.mautic.org/t/shortening-url-in-sms/20373/2 "2021-08-05T12:55:20Z")

</div>

By shorten you mean don’t print the whole long links?  
If you turn this off, you won’t send long tracking links:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b3dd62470f9297012ad7dc73c0141dfe963fd783.png)

---

<div class="post-metadata">

**Author:** ![nsomaru](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nsomaru/32/2801_2.png) [@nsomaru](https://forum.mautic.org/u/nsomaru)\
**Post date:** [August 5, 2021, 1:01pm UTC](https://forum.mautic.org/t/shortening-url-in-sms/20373/3 "2021-08-05T13:01:34Z")

</div>

Interesting question!

I’ve been thinking about this too, as I have purchased a branded short domain for a client. URL shortening services are expensive, I am partial to following this route with [polr](https://polrproject.org/).

I’d probably want to set up a firewall to allow mautic only to even initiate a connection to the web server hosting polr.

The you configure shortening urls in mautic as documented.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [August 5, 2021, 1:17pm UTC](https://forum.mautic.org/t/shortening-url-in-sms/20373/4 "2021-08-05T13:17:12Z")

</div>

If this is the case, could you then enable click tracking as well ?

As an option you can look at [shlink.io](http://shlink.io) where you can setup your own shorteners.

I would be interested to understand how to integrate the two so that we could have shortened urls as well as tracking clicks
