DEV Community

_s._hyn
_s._hyn

Posted on

I tried Google Analytics on My Side Projects and Here's What Actually Happened

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. This was a problem because I'd been using Google Analytics on my side projects, but it wasn't giving me the granularity I needed - I could see the overall traffic, but not where it was coming from. Honestly, I was starting to feel like I was just throwing links out into the void, hoping something would stick.

The Google Analytics Black Box

I was using Google Analytics to track traffic on my side projects, but it was like trying to debug a complex issue without any logging - I could see that something was happening, but I had no idea what. I'd set up the tracking code, and I could see the overall numbers, but when it came to specific links, I was in the dark. I tried using the utm parameters to track specific campaigns, but it was clunky and didn't always work - for example, I'd use curl to send a link to a friend, and then realize I'd forgotten to include the utm parameters, so that traffic would show up as "direct" in my analytics.

Experimenting with Link Tracking

I started looking for a better way to track my links, and that's when I stumbled upon LinkCut - I was looking at the device breakdown in LinkCut and noticed that a surprising number of my clicks were coming from mobile devices, which made me realize I needed to optimize my landing page for mobile. I set up a few links with custom slugs, like /my-link, and was surprised by how much easier it was to track what was going on - I could see exactly which link was driving the most traffic, and even which country the clicks were coming from. (I'm not sure why, but it seemed like my link was really popular in Brazil - maybe it was just a coincidence, but it was interesting to see.)

The Surprising Results

The results were weird - I expected to see a bunch of traffic from the usual suspects, like Twitter and Facebook, but it turned out that most of my clicks were coming from a forum I'd posted on months ago. I didn't expect this, because I'd assumed that the traffic would be driven by my more recent social media posts - but it seemed like the forum post had taken on a life of its own, and was still driving traffic even after all that time. This was weird, because I'd written off the forum as a dead end, but it turned out to be a hidden gem.

When Link Tracking Falls Apart

The thing is, link tracking isn't a silver bullet - there are plenty of cases where it just doesn't work, like when someone shares your link in a private chat or via email. In those cases, you're back to square one, with no way of knowing where the traffic is coming from. I'm not sure this is the best approach, but I've started using a combination of LinkCut and Google Analytics to get a more complete picture of what's going on - it's not perfect, but it's better than flying blind.

Look, I still don't fully understand why link tracking is so hard, but I do know that it's a lot harder than it looks. Has anyone else hit this exact wall, and if so, how did you get around it?

Top comments (0)