how do i analytics? a practical guide for pragmatic startups

73
Andy Young // @andyy // [email protected] How do I analytics? a practical guide for pragmatic startups

Upload: andy-young

Post on 21-Apr-2017

4.956 views

Category:

Data & Analytics


2 download

TRANSCRIPT

Page 1: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How do I analytics?a practical guide forpragmatic startups

Page 2: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Hi, I’m Andy!

@andyy

Page 3: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Wait what, why?

Analytics?

Page 4: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

What do we measure, and why?

Vanity metricsRevenue metrics

Conversion rate metricsPirate metrics..

We need to know how we’re doing.

Page 5: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

If you're not keeping score there's no point playing the game -

you'll never know if you'rewinning or not

- @distrodom

Page 6: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Today’s tools make it super-easy to track

thingsGoogle Analytics

MixpanelKissMetricsLocalytics

Branch Metrics..

Page 7: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Today’s tools make it super-easy to track

thingsBUT they also make it really easy to

- become overwhelmed with data- focus on the wrong things

Page 8: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Typical analytics challenges/pitfalls

Drowning in too much data

Failure to select + focus on the top metrics that matter

Not tracking the data you need to answer key questions

Page 9: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Why analytics?

1. How are we doing? - are KPIs on the right track?

2. What are the results of our experiments?- so we can learn

3. What’s happening right now?- did something great or terrible just happen?

Page 10: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

A. How are we doing?

Page 11: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI

Page 12: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Identify top-level KPI

it’s hard.

Page 13: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Identify top-level KPI

if you pick the wrong KPIs, you're screwed.

If you pick KPIs and then ignore them, you're screwed.

If you pick and monitor KPIs diligently, but don't assess everything you and your whole team does on the basis of whether your tasks are the most effective way to grow your KPIs, you're screwed.

Page 14: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Identify top-level KPI

How?

Page 15: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Identify top-level KPI

Keep it simple!

The good news: there’s probably apre-determined answer

forwhat drives your business

Page 16: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Identify top-level KPI

There’s probably a pre-determined answer for what drives your business

Spoiler: ultimately it’s $$$

Page 17: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

There’s probably a pre-determined answer for what drives your business

Commerce: # salesSubscription / SaaS: # subscribers

Marketplace: # transactions

Page 18: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI

Page 19: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI2. Next, add nuance

Page 20: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

Nuance behind your top level KPI

E.g. for commerce: # salesNuance: average sale $; # customers

Page 21: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI2. Add nuance3. Add drivers

Page 22: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

Drivers behind your top level KPI

E.g. for marketplaces: # transactionsDrivers: # suppliers, # customers

Page 23: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI2. Add nuance3. Add drivers

4. Add funnel for these drivers

Page 24: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI2. Add nuance3. Add drivers

4. Add funnel for these drivers

End up with AARRR

Page 25: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

1. Identify top-level KPI2. Add nuance3. Add drivers

4. Add funnel for these drivers

Put in a spreadsheet(Template Google Sheet: http://bit.ly/kpi-sheet)

Page 26: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

http://bit.ly/kpi-sheet

Page 27: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How’re we doing?

Put in a spreadsheet

- key KPI at the top, nuance and drivers below, finally the detailed funnel below for reference

- columns for weekly numbers, w/w growth

- review weekly- share with whole team

Page 28: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Weekly/Monthly reporting

% week-on-week or month-on-month growthin your one metric that matters

Page 29: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking events

Page 30: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking events

Events vs. Properties vs. People

Events: something happenedProperties: something about what just happened

People: connect events to particular users- people can also have properties

Page 31: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Track events from where?Client/app vs. server

Tracking events

Page 32: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking events

Tip #1: Choose easy-to-read and meaningful event names

Short!Pick a convention; stick to it

Omit superfluous words

“user_viewed_homepage”“Viewed homepage”

Page 33: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tip #2: Track each user based on a distinct ID

Don’t use email address -use autogenerated user_id from your own DB

Use aliasing to connect up events tracked pre/post signup

Tracking events

Page 34: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tip #3: Annotate your users with source data

referrer; utm tags; install tracking via AppsFlyer1. Track a signup event

2. Add as user properties3. Potentially also as properties to key events

Tracking events

Page 35: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tip #4: (Mixpanel specific) - People vs. Events

Mixpanel won’t let you query for userswho did particular events

So, our options:- Do this using your own DB

- Annotate your users (People) with properties for each key event

Tracking events

Page 36: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tip #5: Ecommerce/revenue tracking

Mixpanel/AppBoy etc havenative support for tracking revenue

Annotate your Purchase events with revenue data using the relevant properties for each platform

Tracking events

Page 37: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tip #6: Use a development project for testing

Tracking events

Page 38: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking the funnel

Start with the pirate metrics AARRR

Top of funnel: acquisition; signups/installsMid funnel: post-install events; engagement;

retentionBottom of funnel: purchase / monetisation.

Page 39: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking the funnel

Looking at each stage (AARRR) in aggregate is a good start

but it will only get you so far

the “truth” is much more nuanced

Page 40: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking the funnel

Users acquired via different channelswill have different behaviours

Different cohorts will have different experiences of your product

Different users will have been exposed to different A/B tests

Page 41: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking the funnel

Key: these are all properties of your users

UTM tags: source, medium, campaign, termsLanding pageSignup time

A/B test bucketsReferrer

Viral source

Page 42: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Tracking the funnel

Annotate your users in your database/analytics system with these attributes

UTM tags: source, medium, campaign, termsLanding pageSignup time

A/B test bucketsReferrer

Viral source

Page 43: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Other key metricsCAC, LTV, churn

Page 44: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Other key metrics

Customer Acquisition Cost (CAC)how much you spend (on average) to acquire a

customer

Lifetime Value (LTV)How much revenue $$ an average customer

brings you in all time

Page 45: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

If yourLTV

is greater than yourCAC

then you’re in business

Page 46: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

If yourLTV

is greater than 3x yourCAC

then you’re in a good business

Page 47: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

CAC & LTV: nuances

Payback period: time to recoup CAC

Magnitude of your numberse.g. enterprise vs. social

Page 48: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Calculating CAC

Simple approach: total spend / total signups

“50% of the money I spend on advertisingis wasted - the problem is I don't know which half”

- John Wanamaker

Eventual goal: calculate CAC per channel

Page 49: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Calculating LTV

Problem!You don’t have a lifetime of data

We don't measure LTV - we estimate it

Extrapolate revenue curve over time

Page 50: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Analysing your data

Page 51: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 52: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 53: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 54: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How not to do Metrics

Outdated information

Just 1 view of your data

Manual calculations

Bad metrics lead you astray

Page 55: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Doing metrics right

Graphs

Automated

Realtime

Page 56: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Cohort analysis?

Page 57: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 58: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 59: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Problems with Cohort Analysis

Time consuming

Delays to get the latest data

Inflexible

Page 60: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Rolling Cohorts

Page 61: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 62: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Rolling Cohorts

Page 63: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

How?

Page 64: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Use your existing database

Users

Learn SQL! It's not hard

Just need a slave database for analytics- “read replica” - i.e. a live copy

Page 65: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Use your existing data

Users

SELECT COUNT(*) FROM users

Page 66: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Use your existing data

Users

SELECT COUNT(*) FROM users

WHERE created > ‘2013-07-01’

AND created < ‘2013-08-01’

Page 67: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Use your existing data

SELECT COUNT(*) FROM users

LEFT JOIN sales USING (user_id)

WHERE users.created > ‘2013-07-01’

AND users.created < ‘2013-08-01’

AND sales.date < DATE_ADD(users.created, 1 MONTH)

Page 68: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

1. Automate running queries (every hour!)

2. Store the results in a simple database

3. Create a page to graph the results (HighCharts..)

Roll your own

Page 69: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Page 70: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Visitor numbersUsage / engagement

Revenue Conversion rates

Pirate metrics

Page 71: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Analytics = Knowledge

Page 72: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Knowledge = power confidence

sanity

Page 73: How do I analytics? A practical guide for pragmatic startups

Andy Young // @andyy // [email protected]

Good luck!