OPT out URL shortening in SMS deliveries | Community
Skip to main content
Level 3
July 11, 2019
Solved

OPT out URL shortening in SMS deliveries

  • July 11, 2019
  • 7 replies
  • 9261 views

Hello everyone,

we have an opt-out link created for SMS deliveries. It's an application where users get to tick the checkbox and it unsubscribes the user from a particular channel (email / SMS)

Currently, the URL is like

https://m.comms.ourdomain.com/webApp/smsOptOut?id=<%= escapeUrl(cryptString(recipient.id)) %>

which is very long and utilizes more than half of 160 characters. We tried to use bit.ly and other URl shorteners but getting invalid URL error. Can you please suggest how to solve this?

Kind regards,

Imran

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Florian_Courgey

Hi,

Params forwarding works with tiny url. I created your url, it gives https://tinyurl.com/yxtvyv2r, then you can just append your "id" param, ex with 1234: https://tinyurl.com/yxtvyv2r?id=1234 redirects to https://m.comms.ourdomain.com/webApp/smsOptOut?id=1234

Regards

7 replies

Jonathon_wodnicki
Community Advisor
Community Advisor
July 11, 2019

Hi,

It's mind-boggling how no one in the link-shortening industry's been able to spend the 10 minutes of engineering to implement url param fwding. To solve this can make your own shortener that fwds params (and put all the other shorteners out of biz), or write js in a workfow activity or control typology to shorten url's as they pass through.

Thanks,

-Jon

ihm185Author
Level 3
July 12, 2019

Thank you Jon for replying,

the challenge is to target the recipient which is done by the parameter passed in the URL. When i shorten the URL, this doesn't work.

Is there any other way we can achieve that?

Jean-Serge Biron

shrawan

badr eddine

Thanks,

Imran

Milan_Vucetic
Level 9
July 12, 2019

I would say that is not best practice to use URL for SMS opt-outs, even almost everyone have a smartphone there are a lot of people with feature phone. If you already have SMS channel, consider to create web service for SMS opt-outs (ex. customers sends STOP on short number 1111).

You may try Google URL Shortener

Regards,

Milan

Florian_Courgey
Florian_CourgeyAccepted solution
Level 4
July 12, 2019

Hi,

Params forwarding works with tiny url. I created your url, it gives https://tinyurl.com/yxtvyv2r, then you can just append your "id" param, ex with 1234: https://tinyurl.com/yxtvyv2r?id=1234 redirects to https://m.comms.ourdomain.com/webApp/smsOptOut?id=1234

Regards

Level 2
July 12, 2019

Hello,

this may help you

Link Shorteners

Also the integration with a 3rd party shortener is there to explore

Craig_Thonis
Adobe Employee
Adobe Employee
July 12, 2019

Hi Ihm,

On the Campaign side of things, it's typically recommended to use short codes as mentioned above to avoid this limitation.

Regards,

Craig

ihm185Author
Level 3
July 15, 2019

Thank you, Florian. Much appreciated.