
I tried tracking social media traffic across 5 platforms and here's what actually worked
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 embarrassing - I'd been tracking engagement on each channel, but when it came to actual website traffic, I was flying blind. Look, I know I'm not the only one who's struggled with this - I've got a friend who works in marketing and she's always complaining about the same problem. Why curl wasn't enough I was trying to track social media traffic across 5 different platforms - Facebook, Twitter, Instagram, LinkedIn, and Reddit - and I thought I could just use curl to send the links and track the clicks myself. I mean, how hard could it be, right? I wrote a simple Python script using the requests library to send the links and store the click data in a database. But as the data started rolling in, I realized that I had no way of distinguishing between clicks from different platforms - or even different devices, for that m
Continue reading on Dev.to Tutorial
Opens in a new tab


