9. Google Analytics Realtime-Reporting API (beta)
1. Set-up a developer account
2. Authorize
3. Query
4. Get the heartbeat
https://developers.google.com/analytics/devguides/reporting/realtime/v3/
10. Google Analytics Realtime-Reporting API (beta)
1. Set-up a developer account
2. Authorize (gapi.auth.authorize)
3. Query
4. Get the heartbeat
https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/web-js
11. Google Analytics Realtime-Reporting API (beta)
1. Set-up a developer account
2. Authorize (gapi.auth.authorize)
3. Query
4. Get the heartbeat
https://developers.google.com/analytics/devguides/reporting/realtime/dimsmets/
ACTIVE
USERS
GOAL
CONVERSIONS
rt:activeUsers rt:goalCompletionsAll
12. Google Analytics Realtime-Reporting API (beta)
1. Set-up a developer account
2. Authorize (gapi.auth.authorize)
3. Query
4. Get the heartbeat
https://developers.google.com/analytics/devguides/reporting/realtime/dimsmets/
13. Google Analytics Realtime-Reporting API (beta)
1. Set-up a developer account
2. Authorize (gapi.auth.authorize)
3. Query
4. Get the heartbeat
15. 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
19. 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