finding the pulse of your website

20
Finding the Pulse of your Website Joe Zeoli - Lead Developer

Upload: joseph-zeoli

Post on 13-Apr-2017

122 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Finding the Pulse  of your Website

Finding the Pulse of your Website

Joe Zeoli - Lead Developer

Page 2: Finding the Pulse  of your Website

The Background

+

Page 3: Finding the Pulse  of your Website

The Research

Page 4: Finding the Pulse  of your Website

The VariationsAsystole

Page 5: Finding the Pulse  of your Website

The VariationsBradycardia

Page 6: Finding the Pulse  of your Website

The VariationsNormal

Page 7: Finding the Pulse  of your Website

The VariationsTachycardia

Page 8: Finding the Pulse  of your Website

The Libraries

Page 9: Finding the Pulse  of your Website

Google Analytics Realtime-Reporting API (beta)

1. Set-up a developer account2. Authorize3. Query4. Get the heartbeat

https://developers.google.com/analytics/devguides/reporting/realtime/v3/

Page 10: Finding the Pulse  of your Website

Google Analytics Realtime-Reporting API (beta)

1. Set-up a developer account2. Authorize (gapi.auth.authorize) 3. Query4. Get the heartbeat

https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/web-js

Page 11: Finding the Pulse  of your Website

Google Analytics Realtime-Reporting API (beta)

1. Set-up a developer account2. Authorize (gapi.auth.authorize) 3. Query4. Get the heartbeat

https://developers.google.com/analytics/devguides/reporting/realtime/dimsmets/

ACTIVEUSERS

GOALCONVERSIONS

rt:activeUsers rt:goalCompletionsAll

Page 12: Finding the Pulse  of your Website

Google Analytics Realtime-Reporting API (beta)

1. Set-up a developer account2. Authorize (gapi.auth.authorize) 3. Query4. Get the heartbeat

https://developers.google.com/analytics/devguides/reporting/realtime/dimsmets/

Page 13: Finding the Pulse  of your Website

Google Analytics Realtime-Reporting API (beta)

1. Set-up a developer account2. Authorize (gapi.auth.authorize) 3. Query4. Get the heartbeat

Page 14: Finding the Pulse  of your Website

The Cycle

Get Data

Save changein history

Get heartbeattype

Redrawthe line

Page 15: Finding the Pulse  of your Website

The Line Graph with D3

● Set the dimensions of the canvas

● Set the ranges

● Define the line

● Add the SVG to the canvas

● Get the data

● Scale the range of the data

Page 16: Finding the Pulse  of your Website

The Line Graph with D3

Page 17: Finding the Pulse  of your Website

The Beats

Page 18: Finding the Pulse  of your Website

The Demo (20nine.com)

Page 19: Finding the Pulse  of your Website

The Future

● BPMs based on inputs

○ Padding the middle

● Irregular heartbeats

○ Example: high bounce rate causing an arrhythmia

● Machine Learning

○ Using past data to determine the site performance

Page 20: Finding the Pulse  of your Website

THANKS!

https://github.com/jzeoli/heartbeat

Twitter - @joezeoli

Email - [email protected]