DEV Community

_s._hyn
_s._hyn

Posted on

5 Things About Short URLs in Emails That Bit Me When I Least Expected

I sent the same link to three Slack channels last Tuesday and realized I had zero way of knowing which one drove the 47 signups I saw that morning. Honestly, it was a bit of a panic - I had no idea if it was the channel for our internal team, the one for our beta testers, or the public channel where we share updates. I spent the next hour digging through our analytics dashboard, trying to piece together where those signups came from, but it was like trying to find a needle in a haystack.

The Blind Spot in My Email Campaigns

I was using full URLs in my email campaigns, thinking that it was the most transparent way to share links with our users. But the problem was, those links were often too long and ugly, and I suspected that they might be getting cut off in some email clients. I tried using a simple curl command to test how different email clients would handle these long URLs, but it didn't give me the insights I needed. For example, I would use curl -I https://example.com/very-long-url to check the HTTP headers, but it didn't help me understand how users were interacting with those links.

The Experiment That Changed My Mind

I started using LinkCut to shorten my URLs, mainly because I wanted to see if it would make a difference in our click-through rates. I was looking at the device breakdown in LinkCut and noticed that a significant portion of our clicks were coming from mobile devices - which made sense, given that our app is mobile-first. But what really surprised me was that the click-through rate on those mobile devices was significantly higher than on desktop devices. I also started using custom slugs for my short links, which made it easier to track which links were being shared where. (As an aside, I'm still not sure why I didn't think of using custom slugs sooner - it seems so obvious in hindsight.)

The Unexpected Outcome

What I didn't expect was that using short URLs would actually increase our email open rates. I assume it's because the shorter URLs made our emails look less spammy, but I'm not sure - I still don't fully understand why this happened. The thing is, our email open rates had been stagnant for months, and I had tried all sorts of tweaks to get them to budge. But within a week of switching to short URLs, I saw a noticeable increase in open rates - it was like a switch had been flipped. Look, I'm not saying that short URLs are a magic bullet or anything, but it's definitely been an interesting experiment.

When This Approach Falls Apart

The thing is, using short URLs isn't always the right choice. If you're sharing sensitive information, for example, you might not want to use a short URL that could be easily guessed or shared. And if you're dealing with a very large volume of links, you might need to use a more robust solution than LinkCut. I'm not sure this is the best approach for every use case, but it's worked for me so far. Honestly, I'm still learning about the trade-offs of using short URLs, and I'm sure there are scenarios where it wouldn't be the best choice.

I'm still trying to figure out the best way to use short URLs in my email campaigns, and I'm curious - has anyone else hit this exact wall, where they're trying to balance transparency with click-through rates?

webdev #productivity #devtools #discuss

Top comments (0)