Drew Bredvick, building-productssoftware-as-a-servicetech-decisions
Back

A Developer's Guide - Building Great Software Incrementally with Analytics

There are a few different reasons you could be reading this right now:

  1. You’re building a new product from scratch
  2. The marketing department asked you to add Google Analytics/Tag Manager to the site
  3. You’re a product manager trying to write Jira tickets for your engineers

In all of these scenarios, this guide should serve as a blueprint for your upcoming work. This guide skews towards developers but should be friendly for all audiences.

Motivation

Why do we want to track everything on our product?

Rather than building the product we have in mind, we should build what our users want. By getting a peek into how our users interact with our product, we significantly increase our chance of making a world-class experience.

Each time we ship an iteration and pay attention to its impact, we build a better product. I highly recommend reading The Lean Startup by Eric Ries. If you want the TLDR version, check out this post with the core principles the book talks about: theleanstartup.com/principles. To iterate like that, to build, measure, and learn, we must track how our users are interacting with the site. Without this data, we can’t validate a new feature launch. Implementing Google Analytics is one of the best ways to do this.

To iterate like that, to build, measure, and learn, we must track how our users are interacting with the site. Without this data, we can’t validate a new feature launch.

Why should I start with analytics in the beginning?

If we build the site with analytics in mind, we won’t have to circle back later and retro-fit the site. Also, by gathering data sooner, we up our chances of taking the right path.

The action we take now will impact the codebase and product for years to come. Think of a time you did something the wrong way at the beginning of a project. It’s very likely that you never got to it later and fixed that one shortcut you took to launch.

Lessons learned by doing Google Analytics the WRONG way

We need to have a baseline of data to compare for A/B testing.

Measurement is the first step towards running successful A/B tests. A few months from now, someone in your company is going to ask for A/B testing. This is a prerequisite. If you don’t have baseline metrics, testing means nothing.

Okay, so how do we do this the “right way”?

During questions

Planning questions

Development questions

Please ask me any questions you have! I’m by no means an expert, but I love learning about this stuff.

Interested in reading more?

Get each post sent to your inbox about once or twice a month.

Read the latest issue
© Drew Bredvick.RSS