Slide 1

Slide 1 text

ANALYTICS IN HTML5 GAMES BY JESSE FREEMAN Get the slides at http://bit.ly/analyze-games

Slide 2

Slide 2 text

JESSE FREEMAN WINDOWS 8 GAME EVANGELIST, MICROSOFT @jessefreeman http://jessefreeman.com jessefreeman

Slide 3

Slide 3 text

Your game is a business AND NO BUSINESS WANTS TO SUCK!

Slide 4

Slide 4 text

LET’S DIVE IN

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

YOU LOVE YOUR GAME!

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

PLAYTESTING

Slide 14

Slide 14 text

FEEDBACK • People said they loved the game • Most didn’t stick with it • Stopped before the 1st boss battle • Some said it was too repetitive • No one watched the instructions • Didn’t get how to use the store • No one held down the fire button

Slide 15

Slide 15 text

When you can’t watch people play your game GOOGLE ANALYTICS IS THERE TO HELP

Slide 16

Slide 16 text

WHAT TO TRACK • How many people start/finish a game • What levels do they reach • What do people buy • When do they buy it • Where is the drop-off

Slide 17

Slide 17 text

ADDING ANALYTICS

Slide 18

Slide 18 text

Create a GOOGLE ANALYTICS ACCOUNT It goes without saying you will need a Google account for this but good news is that Google Analytics is free (as long as you share all of your site’s data with them).

Slide 19

Slide 19 text

GOOGLE ANALYTICS QUICK START http://bit.ly/gajs-docs

Slide 20

Slide 20 text

EMBED CODE var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();

Slide 21

Slide 21 text

3 MAIN APIS • Set Account • Track Page • Track Event

Slide 22

Slide 22 text

SET ACCOUNT _gaq.push(['_setAccount', account]);

Slide 23

Slide 23 text

TRACK PAGE _gaq.push(['_trackPageview', url]);

Slide 24

Slide 24 text

TRACK EVENT _gaq.push(['_trackEvent', category, action, label, value]);

Slide 25

Slide 25 text

IMPACT TRACKING PLUGIN http://bit.ly/17Ei5p1

Slide 26

Slide 26 text

How to READ ANALYTICS DATA

Slide 27

Slide 27 text

The most common things we track are GAME SCREEN VIEWS

Slide 28

Slide 28 text

What is your game’s LONG TAIL In statistics, a long tail of some distributions of numbers is the portion of the distribution having a large number of occurrences far from the "head" or central part of the distribution.

Slide 29

Slide 29 text

IDENTIFYING PATTERNS

Slide 30

Slide 30 text

Check out how updating the game IMPACTS THE LONG TAIL

Slide 31

Slide 31 text

USING EVENTS IN GOOGLE ANALYTICS

Slide 32

Slide 32 text

BREAKING DOWN EACH EVENT

Slide 33

Slide 33 text

WHAT DOES IT TELL US? • 19,373 people started a game • 7,516 finished the game • 634 hit the quit button ONLY 38.79% ACTUALLY FINISH

Slide 34

Slide 34 text

WHERE IS THE DROP-OFF?

Slide 35

Slide 35 text

UNDERSTANDING PLAYER FLOW

Slide 36

Slide 36 text

By analyzing the level events, we can start to IDENTIFY PROBLEM AREAS

Slide 37

Slide 37 text

After every five levels THERE IS A BOSS BATTLE

Slide 38

Slide 38 text

Looks like SOMETHING IS BROKEN

Slide 39

Slide 39 text

WE KNOW THIS FROM THE DATA We know this by ANALYZING THE LEVEL DATA

Slide 40

Slide 40 text

The data validates that BOSS BATTLES ARE BROKEN

Slide 41

Slide 41 text

Using purchase data TO BALANCE THE STORE

Slide 42

Slide 42 text

When people buy is just as important as WHAT IS BEING BOUGHT

Slide 43

Slide 43 text

What else CAN WE LEARN?

Slide 44

Slide 44 text

HOW IS YOUR GAME FOUND

Slide 45

Slide 45 text

NEW PLAYERS VS RETURNING

Slide 46

Slide 46 text

COUNTRY AND TERRITORY

Slide 47

Slide 47 text

MOST POPULAR RESOLUTION

Slide 48

Slide 48 text

MOST POPULAR BROWSER

Slide 49

Slide 49 text

MOST POPULAR OS

Slide 50

Slide 50 text

OVER 89% ARE MOBILE

Slide 51

Slide 51 text

HTML5 GAMING FTW!

Slide 52

Slide 52 text

In the end ANALYTICS IN YOUR GAME IS THE GREATEST THING SINCE

Slide 53

Slide 53 text

The end THANKS FOR WATCHING! Shameless plug to buy my new book and learn how to publish your HTML5 games on Windows 8 http://bit.ly/html5win8 Special thanks to Stacey Mulcahy (@bitchwhocodes) for helping out on this.