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
Solved! Go to Solution.
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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?
Thanks,
Imran
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Hello,
this may help you
Also the integration with a 3rd party shortener is there to explore
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Thank you, Florian. Much appreciated.