The what why and how of web analytics testing

53
THE WHAT, WHY & HOW OF (WEB) ANALYTICS TESTING Anand Bagmar Software Quality Evangelist

Transcript of The what why and how of web analytics testing

Page 1: The what why and how of web analytics testing

THE WHAT, WHY & HOW OF (WEB) ANALYTICS TESTING

Anand Bagmar Software Quality Evangelist

Page 2: The what why and how of web analytics testing

@BagmarAnand about.me/anand.bagmar

ABOUT ME

Page 3: The what why and how of web analytics testing

What do you expect from this session?

Page 4: The what why and how of web analytics testing

Why do we do Testing?

Page 5: The what why and how of web analytics testing
Page 6: The what why and how of web analytics testing

HOW DO WE VALIDATE?

Page 7: The what why and how of web analytics testing

What are Heuristics?

Page 8: The what why and how of web analytics testing
Page 9: The what why and how of web analytics testing

Web Analytics

Page 10: The what why and how of web analytics testing

WHAT IS WEB ANALYTICS?

Page 11: The what why and how of web analytics testing
Page 12: The what why and how of web analytics testing

WHY DO WE NEED WEB ANALYTICS?

Page 13: The what why and how of web analytics testing

WEB ANALYTICS SOLUTIONS

Google Analytics

SiteCatalyst

AWStats

WebTrends

….

Page 14: The what why and how of web analytics testing

Testing Web Analytics

Page 15: The what why and how of web analytics testing
Page 16: The what why and how of web analytics testing
Page 17: The what why and how of web analytics testing
Page 18: The what why and how of web analytics testing

LEARN & OPTIMIZE

Page 19: The what why and how of web analytics testing

TESTING AT THE REPORT LEVEL

Pros

¨ Ensure report is setup correctly

Cons

¨ Licensing

¨ Reports not yet setup

¨ Validate all requests are sent / captured

Page 20: The what why and how of web analytics testing

Biggest Problem

It is TOO LATE!

Page 21: The what why and how of web analytics testing

The Solution

Page 22: The what why and how of web analytics testing
Page 23: The what why and how of web analytics testing
Page 24: The what why and how of web analytics testing
Page 25: The what why and how of web analytics testing

Web Analytics Testing Challenges

Page 26: The what why and how of web analytics testing

MANUAL

Page 27: The what why and how of web analytics testing

REPEATING OVER-AND-OVER AGAIN

Page 28: The what why and how of web analytics testing
Page 29: The what why and how of web analytics testing

WAAT - Web Analytics Automation Testing

Page 30: The what why and how of web analytics testing

WHAT DOES WAAT DO FOR ME?

q Plugs into existing test framework

q With minimal changes

q Web Analytic tool independent

q UI Driver framework independent

q Browser independent

Page 31: The what why and how of web analytics testing

FLAVORS

Page 32: The what why and how of web analytics testing

ARCHITECTURE

Page 33: The what why and how of web analytics testing

WAAT-JAVA

q Original flavor

q Supports 3 plugins

q Omniture Debugger

q HttpSniffer

q  JsSniffer

q Available on github

Page 34: The what why and how of web analytics testing

WAAT-RUBY

q Ruby gem implemented over WAAT-Java

q Uses RJB – Ruby-Java-Bridge

q Supports 2 plugins

q HttpSniffer

q  JsSniffer

q Available on github and rubygems.org

Page 35: The what why and how of web analytics testing

OMNITURE DEBUGGER

Page 36: The what why and how of web analytics testing

OMNITURE DEBUGGER

Pros

q OS independent

q Run using the regular test-user

Cons

q Browser dependent – need to implement ScriptRunner for the UI-driver in use

q Web-Analytic solution dependent – Adobe Marketing Cloud / Omniture SiteCatalyst

Page 37: The what why and how of web analytics testing

HTTPSNIFFER

Pros

q Web-analytic solution independent

q Browser independent

q UI-driver independent

Cons

q 3rd party libraries are OS Dependent

q HTTPs not supported out-of-the-box

q Run tests as ‘root’

Page 38: The what why and how of web analytics testing

JSSNIFFER

Pros q Web-analytic solution independent

q Browser independent

q HTTPs supported out-of-the-box

q No dependency on any 3rd party library

Cons q Need to write JavaScript to get the URL from the browser

q UI-driver dependent

Page 39: The what why and how of web analytics testing
Page 40: The what why and how of web analytics testing

Is that all to

Web Analytics?

Page 41: The what why and how of web analytics testing

The new “kids” in town

IoT & Big Data

Page 42: The what why and how of web analytics testing

Some popular use cases

Page 43: The what why and how of web analytics testing

IOT – INTERNET OF THINGS

Opportunity to

¨ Create new value propositions

¨ Be Innovative

¨ Be Creative

Page 44: The what why and how of web analytics testing

IOT – HOW TO DELIVER VALUE?

¨ Automate the manual processes

¨  Integrate data capabilities

¨ Collect – integrate from various sources

¨ Repeat collection – automate the collection

¨ Analyze – manual & machine learning

¨ Optimize / Pivot

¨ Repeat

Page 45: The what why and how of web analytics testing

IOT – CHALLENGES

¨ Federated devices

¨ Different types of networks

¨ Different communication channels

¨ Physical (hardware) & Virtual (software)

Page 46: The what why and how of web analytics testing

IOT – BIGGER CHALLENGES

¨ Too many devices

¨ Lots of data

Page 47: The what why and how of web analytics testing

BIG DATA …. IS GETTING BIGGER

¨ Volumes of data generated ¨  A jet engine generates 1TB of data per flight.

¨  A large refinery generates 1TB of raw data per day.

¨  As cars get smarter, the number of sensors is projected to reach as many as 200 per car.

¨  Sensors of all types will generate immense amounts of data. In fact, analysts estimate that by 2020, 40 percent of all data will come from sensors.

¨  IoT leads to massive volumes of data

http://www.cisco.com/web/solutions/trends/iot/docs/iot-data-analytics-white-paper

Page 48: The what why and how of web analytics testing

IoT is about Data!

Page 49: The what why and how of web analytics testing

TO GET VALUE FROM IOT …

¨ Collect

¨ Analyze

¨ Predict

¨ Plan

Page 50: The what why and how of web analytics testing

What does this mean for Testing?

Page 51: The what why and how of web analytics testing

TESTING OPPORTUNITIES

We need to build capabilities to validate –

¨ Data collection is working well

¨ From all sources

¨ Analyzing data, capturing patterns and trends

¨ Optimize business value

¨ Create new opportunities and value propositions

Page 52: The what why and how of web analytics testing

RESOURCES

¨ https://github.com/anandbagmar/waat

¨ https://github.com/anandbagmar/waat-ruby

¨ http://essenceoftesting.blogspot.in/search/label/waat

¨ http://www.cisco.com/web/solutions/trends/iot/docs/iot-data-analytics-white-paper

¨ http://www.dezyre.com/article/how-big-data-analysis-helped-increase-walmart-s-sales-turnover/109

52

Page 53: The what why and how of web analytics testing

@BagmarAnand about.me/anand.bagmar

THANK YOU