Expand my Community achievements bar.

SOLVED

OPT out URL shortening in SMS deliveries

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 6

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

View solution in original post

7 Replies

Avatar

Community Advisor

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

Avatar

Level 4

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

Avatar

Community Advisor

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

Avatar

Correct answer by
Level 6

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

Avatar

Level 3

Hello,

this may help you

Link Shorteners

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

Avatar

Employee Advisor

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