8. Web Tools for Mobile Web
Safari’s Web Inspector
Chrome’s Remote Debugging
Charles Web Debugging Proxy
9. Problem Statement 2 – Why GA Test
Automation?
New feature -> side effects
Avoid human error
Limited time
Simulate LINE TODAY user in LINE app and
confirm GA events are included in GA reports.
11. GA Report API
Go to Google Developers Console
(https://console.developers.google.com)
Create Project or select a project
Go to API Manager > Credentials
In Service Account keys > press Manage
service accounts > press Create Service
Accounts
In Create Service account input a
Service account name, check Furnish a
new private key then select preferred
key type.
Initialize analytics reporting (using P12)
13. GA Report API - continued
Initialize analytics reporting (using P12)
• Reference: https://developers.google.com/identity/protocols/OAuth2ServiceAccount
14. GA Report API - continued
• View ID - https://analytics.google.com, top left corner > select Accounts, Properties > View
• Dimensions and metrics
Getting GA report
Get session report
for this week
15. GA Report API - continued
A more complete report
request
• Basics use cases
• Advanced use cases
Dimensions,
dimension filter
metrics
as our user base increases, we have more feature requests
We need to measure the effectiveness of these features, how to we measure them?
who here uses GA in their projects? who here have checked GA manually? who here have used GA api? how many here uses GA api for test automation?
a lot of might think that features are the most important aspect in a project, but for a mid-to-large size project, you need to listen to your users to be even more successful. How do you listen to users? By analyzing their behavior.
Features decided by statistics = user’s voice
For PC web browsers, it’s simple just use any browser’s Developer Tools. But what about mobile browsers or in-app web? Anyone has experience in checking mobile web?
User statistics is a very important factor in measuring success of a development project
GA helps analyze user statistics and their behavior
There are lots of tools to check GA in PC/mobile web browsers
GA Reporting API is available to further customize reports and improve quality through automation