DEV Community

Cover image for Tracking link click from SMS, or any link!
Zubair Mohsin
Zubair Mohsin

Posted on

Tracking link click from SMS, or any link!

How do you track a "link click" from an SMS? It's pretty simple πŸ€·πŸ»β€β™‚οΈ

  • Shorten your "actual link" βœ‚οΈ
  • Send that "shortened link" in SMS πŸ“²
  • User clicks on "shortened link" in SMS and opens it up in browser 🀏
  • Boom, that's a click πŸ₯³ (Increment your clicks stats)
  • Now you can redirect them to "actual link" β™Ί

That's how all link click tracking works actually πŸ€·πŸ»β€β™‚οΈ

Let's take a look at Twitter as an example:

When you click on any link shared inside a tweet, Twitter first redirects you to a url https://t.co. That's how link clicks are calculated in Twitter analytics.

bit.ly works the same πŸ˜‰

I hope someone finds it useful πŸ™ŒπŸΌ

Top comments (0)