# Link Shortner Configuration

**URL:** <https://forum.mautic.org/t/link-shortner-configuration/4984>\
**Category:** General Discussion\
**Created:** [August 19, 2016, 6:57pm UTC](https://forum.mautic.org/t/link-shortner-configuration/4984 "2016-08-19T18:57:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://forum.mautic.org/u/eric)\
**Post date:** [August 19, 2016, 6:57pm UTC](https://forum.mautic.org/t/link-shortner-configuration/4984/1 "2016-08-19T18:57:36Z")

</div>

Under Configuration \> Miscellaneous Settings, there’s mautic.core.config.form.link.shortener. Is there any documentation on how this can be configured or expanded upon? Specifically, I’m looking to shorten urls in SMS messages automatically with Google’s URL Shortener API.

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://forum.mautic.org/u/eric)\
**Post date:** [August 19, 2016, 6:57pm UTC](https://forum.mautic.org/t/link-shortner-configuration/4984/2 "2016-08-19T18:57:36Z")

</div>

Under Configuration \> Miscellaneous Settings, there’s mautic.core.config.form.link.shortener. Is there any documentation on how this can be configured or expanded upon? Specifically, I’m looking to shorten urls in SMS messages automatically with Google’s URL Shortener API.

---

<div class="post-metadata">

**Author:** ![martinstrom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/martinstrom/32/433_2.png) [@martinstrom](https://forum.mautic.org/u/martinstrom)\
**Post date:** [September 20, 2016, 4:28pm UTC](https://forum.mautic.org/t/link-shortner-configuration/4984/3 "2016-09-20T16:28:40Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![hiniestic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/hiniestic/32/671_2.png) [@hiniestic](https://forum.mautic.org/u/hiniestic)\
**Post date:** [October 4, 2016, 12:16pm UTC](https://forum.mautic.org/t/link-shortner-configuration/4984/4 "2016-10-04T12:16:33Z")

</div>

+1 Also have the same problem. Want to short links of SMS messages. ¿Any solution?

---

<div class="post-metadata">

**Author:** ![hiniestic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/hiniestic/32/671_2.png) [@hiniestic](https://forum.mautic.org/u/hiniestic)\
**Post date:** [October 5, 2016, 10:26am UTC](https://forum.mautic.org/t/link-shortner-configuration/4984/5 "2016-10-05T10:26:19Z")

</div>

Find the solution. You can use a shortener services (you must configure it in the configuration section) but there is a bug, and the server is not used. In file app/bundle/SmsBundle/EventListener/SmsSuscriber.php you have to change line 144 to:  
$tokens[$token] = $this-\>trackableModel-\>generateTrackableUrl($trackable, $clickthrough,true);
