ⓘ Web analytics
Web analytics is the measurement, collection, analysis and reporting of web data for purposes of understanding and optimizing web usage. However, Web analytics is not just a process for measuring web traffic but can be used as a tool for business and market research, and to assess and improve the effectiveness of a website. Web analytics applications can also help companies measure the results of traditional print or broadcast advertising campaigns. It helps one to estimate how traffic to a website changes after the launch of a new advertising campaign. Web analytics provides information about the number of visitors to a website and the number of page views. It helps gauge traffic and popularity trends which is useful for market research.
1. Basic steps of the web analytics process
Most web analytics processes come down to four essential stages or steps, which are:
- Collection of data: This stage is the collection of the basic, elementary data. Usually, these data are counts of things. The objective of this stage is to gather the data.
- Developing KPI: This stage focuses on using the ratios and counts and infusing them with business strategies, referred to as key performance indicators KPI. Many times, KPIs deal with conversion aspects, but not always. It depends on the organization.
- Formulating online strategy: This stage is concerned with the online goals, objectives, and standards for the organization or business. These strategies are usually related to making money, saving money, or increasing marketshare.
- Processing of data into information: This stage usually take counts and make them ratios, although there still may be some counts. The objective of this stage is to take the data and conform it into information, specifically metrics.
Another essential function developed by the analysts for the optimization of the websites are the experiments
- Experiments and testings: A/B testing is a controlled experiment with two variants, in online settings, such as web development.
The goal of A/B testing is to identify and suggest changes to web pages that increase or maximize the effect of a statistically tested result of interest.
Each stage impacts or can impact i.e., drives the stage preceding or following it. So, sometimes the data that is available for collection impacts the online strategy. Other times, the online strategy affects the data collected.
1.1. Basic steps of the web analytics process Web analytics technologies
There are at least two categories of web analytics, off-site and on-site web analytics.
- Off-site web analytics refers to web measurement and analysis regardless of whether you own or maintain a website. It includes the measurement of a websites potential audience opportunity, share of voice visibility, and buzz comments that is happening on the Internet as a whole.
- On-site web analytics, the more common of the two, measure a visitors behavior once on your website. This includes its drivers and conversions; for example, the degree to which different landing pages are associated with online purchases. On-site web analytics measures the performance of your website in a commercial context. This data is typically compared against key performance indicators for performance and is used to improve a website or marketing campaigns audience response. Google Analytics and Adobe Analytics are the most widely used on-site web analytics service; although new tools are emerging that provide additional layers of information, including heat maps and session replay.
1.2. Basic steps of the web analytics process Web analytics data sources
The fundamental goal of web analytics is to collect and analyze data related to web traffic and usage patterns. The data mainly comes from four sources:
- Direct HTTP request data: directly comes from HTTP request messages HTTP request headers.
- Network level and server generated data associated with HTTP requests: not part of an HTTP request, but it is required for successful request transmissions - for example, IP address of a requester.
- Application level data sent with HTTP requests: generated and processed by application level programs, including session and referrals. These are usually captured by internal logs rather than public web analytics services.
- External data: can be combined with on-site data to help augment the website behavior data described above and interpret web usage. For example, IP addresses are usually associated with Geographic regions and internet service providers, e-mail open and click-through rates, direct mail campaign data, sales and lead history, or other data types as needed.
1.3. Basic steps of the web analytics process Web server log file analysis
Web servers record some of their transactions in a log file. It was soon realized that these log files could be read by a program to provide data on the popularity of the website. Thus arose web log analysis software.
In the early 1990s, website statistics consisted primarily of counting the number of client requests or hits made to the web server. This was a reasonable method initially, since each website often consisted of a single HTML file. However, with the introduction of images in HTML, and websites that spanned multiple HTML files, this count became less useful. The first true commercial Log Analyzer was released by IPRO in 1994.
Two units of measure were introduced in the mid-1990s to gauge more accurately the amount of human activity on web servers. These were page views and visits or sessions. A page view was defined as a request made to the web server for a page, as opposed to a graphic, while a visit was defined as a sequence of requests from a uniquely identified client that expired after a certain amount of inactivity, usually 30 minutes. The page views and visits are still commonly displayed metrics, but are now considered rather rudimentary.
The emergence of search engine spiders and robots in the late 1990s, along with web proxies and dynamically assigned IP addresses for large companies and ISPs, made it more difficult to identify unique human visitors to a website. Log analyzers responded by tracking visits by cookies, and by ignoring requests from known spiders.
The extensive use of web caches also presented a problem for log file analysis. If a person revisits a page, the second request will often be retrieved from the browsers cache, and so no request will be received by the web server. This means that the persons path through the site is lost. Caching can be defeated by configuring the web server, but this can result in degraded performance for the visitor and bigger load on the servers.
1.4. Basic steps of the web analytics process Page tagging
Concerns about the accuracy of log file analysis in the presence of caching, and the desire to be able to perform web analytics as an outsourced service, led to the second data collection method, page tagging or Web bugs.
The web analytics service also manages the process of assigning a cookie to the user, which can uniquely identify them during their visit and in subsequent visits. Cookie acceptance rates vary significantly between websites and may affect the quality of data collected and reported.
Collecting website data using a third-party data collection server or even an in-house data collection server requires an additional DNS lookup by the users computer to determine the IP address of the collection server. On occasion, delays in completing a successful or failed DNS lookups may result in data not being collected.
With the increasing popularity of Ajax-based solutions, an alternative to the use of an invisible image is to implement a call back to the server from the rendered page. In this case, when the page is rendered on the web browser, a piece of Ajax code would call back to the server and pass information about the client that can then be aggregated by a web analytics company. This is in some ways flawed by browser restrictions on the servers which can be contacted with XmlHttpRequest objects. Also, this method can lead to slightly lower reported traffic levels, since the visitor may stop the page from loading in mid-response before the Ajax call is made.
1.5. Basic steps of the web analytics process Logfile analysis vs page tagging
Both logfile analysis programs and page tagging solutions are readily available to companies that wish to perform web analytics. In some cases, the same web analytics company will offer both approaches. The question then arises of which method a company should choose. There are advantages and disadvantages to each approach.
1.6. Basic steps of the web analytics process Advantages of logfile analysis
The main advantages of log file analysis over page tagging are as follows:
- Logfiles require no additional DNS lookups or TCP slow starts. Thus there are no external server calls which can slow page load speeds, or result in uncounted page views.
- The web server reliably records every transaction it makes, e.g. serving PDF documents and content generated by scripts, and does not rely on the visitors browsers cooperating.
- The data is on the companys own servers, and is in a standard, rather than a proprietary, format. This makes it easy for a company to switch programs later, use several different programs, and analyze historical data with a new program.
- The web server normally already produces log files, so the raw data is already available. No changes to the website are required.
1.7. Basic steps of the web analytics process Advantages of page tagging
The main advantages of page tagging over log file analysis are as follows:
- Page tagging can report on events which do not involve a request to the web server, such as interactions within Flash movies, partial form completion, mouse events such as onClick, onMouseOver, onFocus, onBlur etc.
- Counting is activated by opening the page given that the web client runs the tag scripts, not requesting it from the server. If a page is cached, it will not be counted by server-based log analysis. Cached pages can account for up to one-third of all page views. Not counting cached pages seriously skews many site metrics. It is for this reason server-based log analysis is not considered suitable for analysis of human activity on websites.
- Lately, page tagging has become a standard in web analytics.
- The script may have access to additional information on the web client or on the user, not sent in the query, such as visitors screen sizes and the price of the goods they purchased.
- The page tagging service manages the process of assigning cookies to visitors; with log file analysis, the server has to be configured to do this.
- Page tagging is available to companies who do not have access to their own web servers.
1.8. Basic steps of the web analytics process Economic factors
Logfile analysis is almost always performed in-house. Page tagging can be performed in-house, but it is more often provided as a third-party service. The economic difference between these two models can also be a consideration for a company deciding which to purchase.
- For Logfile analysis data must be stored and archived, which often grows large quickly. Although the cost of hardware to do this is minimal, the overhead for an IT department can be considerable.
- For Logfile analysis software need to be maintained, including updates and security patches.
- Logfile analysis typically involves a one-off software purchase; however, some vendors are introducing maximum annual page views with additional costs to process additional information. In addition to commercial offerings, several open-source logfile analysis tools are available free of charge.
- Complex page tagging vendors charge a monthly fee based on volume i.e. number of page views per month collected.
Which solution is cheaper to implement depends on the amount of technical expertise within the company, the vendor chosen, the amount of activity seen on the websites, the depth and type of information sought, and the number of distinct websites needing statistics.
Regardless of the vendor solution or data collection method employed, the cost of web visitor analysis and interpretation should also be included. That is, the cost of turning raw data into actionable information. This can be from the use of third party consultants, the hiring of an experienced web analyst, or the training of a suitable in-house person. A cost-benefit analysis can then be performed. For example, what revenue increase or cost savings can be gained by analyzing the web visitor data?
1.9. Basic steps of the web analytics process Hybrid methods
Some companies produce solutions that collect data through both log-files and page tagging and can analyze both kinds. By using a hybrid method, they aim to produce more accurate statistics than either method on its own. An early hybrid solution was produced in 1998 by Rufus Evison.
1.10. Basic steps of the web analytics process Geolocation of visitors
With IP geolocation, it is possible to track visitors locations. Using IP geolocation database or API, visitors can be geolocated to city, region or country level.
IP Intelligence, or Internet Protocol IP Intelligence, is a technology that maps the Internet and categorizes IP addresses by parameters such as geographic location, connection type, Internet Service Provider ISP, proxy information, and more. The first generation of IP Intelligence was referred to as geotargeting or geolocation technology. This information is used by businesses for online audience segmentation in applications such online advertising, behavioral targeting, content localization or website localization, digital rights management, personalization, online fraud detection, localized search, enhanced analytics, global traffic management, and content distribution.
1.11. Basic steps of the web analytics process Click analytics
Click analytics is a special type of web analytics that gives special attention to clicks.
Commonly, click analytics focuses on on-site analytics. An editor of a website uses click analytics to determine the performance of his or her particular site, with regards to where the users of the site are clicking.
Also, click analytics may happen real-time or "unreal"-time, depending on the type of information sought. Typically, front-page editors on high-traffic news media sites will want to monitor their pages in real-time, to optimize the content. Editors, designers or other types of stakeholders may analyze clicks on a wider time frame to help them assess performance of writers, design elements or advertisements etc.
Data about clicks may be gathered in at least two ways. Ideally, a click is "logged" when it occurs, and this method requires some functionality that picks up relevant information when the event occurs. Alternatively, one may institute the assumption that a page view is a result of a click, and therefore log a simulated click that led to that page view.
1.12. Basic steps of the web analytics process Customer lifecycle analytics
Customer lifecycle analytics is a visitor-centric approach to measuring that falls under the umbrella of lifecycle marketing. Page views, clicks and other events are all tied to an individual visitor instead of being stored as separate data points. Customer lifecycle analytics attempts to connect all the data points into a marketing funnel that can offer insights into visitor behavior and website optimization.
1.13. Basic steps of the web analytics process Other methods
Other methods of data collection are sometimes used. Packet sniffing collects data by sniffing the network traffic passing between the web server and the outside world. Packet sniffing involves no changes to the web pages or web servers. Integrating web analytics into the web server software itself is also possible. Both these methods claim to provide better real-time data than other methods.
2. On-site web analytics - definitions
There are no globally agreed definitions within web analytics as the industry bodies have been trying to agree on definitions that are useful and definitive for some time. The main bodies who have had input in this area have been the IAB Interactive Advertising Bureau, JICWEBS The Joint Industry Committee for Web Standards in the UK and Ireland, and The DAA Digital Analytics Association, formally known as the WAA Web Analytics Association, US. However, many terms are used in consistent ways from one major analytics tool to another, so the following list, based on those conventions, can be a useful starting point:
- Event - A discrete action or class of actions that occur on a website. A page view is a type of event. Events also encapsulate clicks, form submissions, keypress events, and other client-side user actions.
- Click-through Rate is a ratio of users who click on a specific link to the number of total users who view a page, email, or advertisement. It is commonly used to measure the success of an online advertising campaign for a particular website as well as the effectiveness of email campaigns.
- Visitor / Unique Visitor / Unique User - The uniquely identified client that is generating page views or hits within a defined time period e.g. day, week or month. A uniquely identified client is usually a combination of a machine ones desktop computer at work for example and a browser Firefox on that machine. The identification is usually via a persistent cookie that has been placed on the computer by the site page code. An older method, used in log file analysis, is the unique combination of the computers IP address and the User-Agent browser information provided to the web server by the browser. It is important to understand that the "Visitor" is not the same as the human being sitting at the computer at the time of the visit, since an individual human can use different computers or, on the same computer, can use different browsers, and will be seen as a different visitor in each circumstance. Increasingly, but still, somewhat rarely, visitors are uniquely identified by Flash LSOs Local Shared Object, which are less susceptible to privacy enforcement.
- New Visitor - A visitor that has not made any previous visits. This definition creates a certain amount of confusion see common confusions below, and is sometimes substituted with analysis of first visits.
- Return Visitor - A Unique visitor with activity consisting of a visit to a site during a reporting period and where the Unique visitor visited the site prior to the reporting period. The individual is counted only once during the reporting period.
- Average Page Depth / Page Views per Average Session - Page Depth is the approximate "size" of an average visit, calculated by dividing the total number of page views by the total number of visits.
- Frequency / Session per Unique - Frequency measures how often visitors come to a website in a given time period. It is calculated by dividing the total number of sessions or visits by the total number of unique visitors during a specified time period, such as a month or year. Sometimes it is used interchangeable with the term "loyalty."
- Session Duration / Visit Duration - Average amount of time that visitors spend on the site each time they visit.It is calculated as the sum total of the duration of all the sessions divided by the total number of sessions. This metric can be complicated by the fact that analytics programs can not measure the length of the final page view.
- Click - "refers to a single instance of a user following a hyperlink from one page in a site to another".
- Bounce Rate - The percentage of visits that are single-page visits and without any other interactions clicks on that page. In other words, a single click in a particular session is called a bounce.
- Impression - The most common definition of "Impression" is an instance of an advertisement appearing on a viewed page. Note that an advertisement can be displayed on a viewed page below the area actually displayed on the screen, so most measures of impressions do not necessarily mean an advertisement has been view-able.
- Site Overlay is a report technique in which statistics clicks or hot spots are superimposed, by physical location, on a visual snapshot of the web page.
- Single Page Visit / Singleton - A visit in which only a single page is viewed this is not a bounce.
- First Visit / First Session - also called Absolute Unique Visitor in some tools A visit from a uniquely identified client that has theoretically not made any previous visits. Since the only way of knowing whether the uniquely identified client has been to the site before is the presence of a persistent cookie or via digital fingerprinting that had been received on a previous visit, the First Visit label is not reliable if the sites cookies have been deleted since their previous visit.
- Page view - A request for a file, or sometimes an event such as a mouse click, that is defined as a page in the setup of the web analytics tool. An occurrence of the script being run in page tagging. In log analysis, a single page view may generate multiple hits as all the resources required to view the page images.js and.css files are also requested from the webserver.
- Average Page View Duration - Average amount of time that visitors spend on an average page of the site.
- Hit - A request for a file from the webserver. Available only in log analysis. The number of hits received by a website is frequently cited to assert its popularity, but this number is extremely misleading and dramatically overestimates popularity. A single web-page typically consists of multiple often dozens of discrete files, each of which is counted as a hit as the page is downloaded, so the number of hits is really an arbitrary number more reflective of the complexity of individual pages on the website than the websites actual popularity. The total number of visits or page views provides a more realistic and accurate assessment of popularity.
- Repeat Visitor - A visitor that has made at least one previous visit. The period between the last and current visit is called visitor recency and is measured in days.
- Click path - the chronological sequence of page views within a visit or session.
- Page Time Viewed / Page Visibility Time / Page View Duration - The time a single page or a blog, Ad Banner. is on the screen, measured as the calculated difference between the time of the request for that page and the time of the next recorded request. If there is no next recorded request, then the viewing time of that instance of that page is not included in reports.
- Visit / Session - A visit or session is defined as a series of page requests or, in the case of tags, image requests from the same uniquely identified client. A unique client is commonly identified by an IP address or a unique ID that is placed in the browser cookie. A visit is considered ended when no requests have been recorded in some number of elapsed minutes. A 30-minute limit "time out" is used by many analytics tools but can, in some tools such as Google Analytics, be changed to another number of minutes. Analytics data collectors and analysis tools have no reliable way of knowing if a visitor has looked at other sites between page views; a visit is considered one visit as long as the events are 30 minutes or less closer together. Note that a visit can consist of a one-page view or thousands. A unique visits session can also be extended if the time between page loads indicates that a visitor has been viewing the pages continuously.
- Active Time / Engagement Time - Average amount of time that visitors spend actually interacting with content on a web page, based on mouse moves, clicks, hovers, and scrolls. Unlike Session Duration and Page View Duration / Time on Page, this metric can accurately measure the length of engagement in the final page view, but it is not available in many analytics tools or data collection methods.
- Exit Rate / % Exit - A statistic applied to an individual page, not a web site. The percentage of visits seeing a page where that page is the final page viewed in the visit.
3. Off-site web analytics
Off-site web analytics is based on open data analysis, social media exploration, share of voice on web properties. It is usually used to understand how to market a site by identifying the keywords tagged to this site, either from social media or from other websites.
By using HTTP Referer, webpage owners will be able to trace which are the referrer sites that helps bring in traffic to their own site.
4.1. Common sources of confusion in web analytics The hotel problem
The hotel problem is generally the first problem encountered by a user of web analytics. The problem is that the unique visitors for each day in a month do not add up to the same total as the unique visitors for that month. This appears to an inexperienced user to be a problem in whatever analytics software they are using. In fact it is a simple property of the metric definitions.
The way to picture the situation is by imagining a hotel. The hotel has two rooms Room A and Room B.
As the table shows, the hotel has two unique users each day over three days. The sum of the totals with respect to the days is therefore six.
During the period each room has had two unique users. The sum of the totals with respect to the rooms is therefore four.
Actually only three visitors have been in the hotel over this period. The problem is that a person who stays in a room for two nights will get counted twice if you count them once on each day, but is only counted once if you are looking at the total for the period. Any software for web analytics will sum these correctly for the chosen time period, thus leading to the problem when a user tries to compare the totals.
5.1. Web analytics methods Problems with cookies
Historically, vendors of page-tagging analytics solutions have used third-party cookies sent from the vendors domain instead of the domain of the website being browsed. Third-party cookies can handle visitors who cross multiple unrelated domains within the companys site, since the cookie is always handled by the vendors servers.
However, third-party cookies in principle allow tracking an individual user across the sites of different companies, allowing the analytics vendor to collate the users activity on sites where he provided personal information with his activity on other sites where he thought he was anonymous. Although web analytics companies deny doing this, other companies such as companies supplying banner ads have done so. Privacy concerns about cookies have therefore led a noticeable minority of users to block or delete third-party cookies. In 2005, some reports showed that about 28% of Internet users blocked third-party cookies and 22% deleted them at least once a month. Most vendors of page tagging solutions have now moved to provide at least the option of using first-party cookies assigned from the client subdomain.
Another problem is cookie deletion. When web analytics depend on cookies to identify unique visitors, the statistics are dependent on a persistent cookie to hold a unique visitor ID. When users delete cookies, they usually delete both first- and third-party cookies. If this is done between interactions with the site, the user will appear as a first-time visitor at their next interaction point. Without a persistent and unique visitor id, conversions, click-stream analysis, and other metrics dependent on the activities of a unique visitor over time, cannot be accurate.
Cookies are used because IP addresses are not always unique to users and may be shared by large groups or proxies. In some cases, the IP address is combined with the user agent in order to more accurately identify a visitor if cookies are not available. However, this only partially solves the problem because often users behind a proxy server have the same user agent. Other methods of uniquely identifying a user are technically challenging and would limit the trackable audience or would be considered suspicious. Cookies are the selected option because they reach the lowest common denominator without using technologies regarded as spyware.
6. Secure analytics metering methods
It may be good to be aware that the third-party information gathering is subject to any network limitations and security applied. Countries, Service Providers and Private Networks can prevent site visit data from going to third parties. All the methods described above and some other methods not mentioned here, like sampling have the central problem of being vulnerable to manipulation both inflation and deflation. This means these methods are imprecise and insecure in any reasonable model of security. This issue has been addressed in a number of papers, but to-date the solutions suggested in these papers remain theoretical, possibly due to lack of interest from the engineering community, or because of financial gain the current situation provides to the owners of big websites. For more details, consult the aforementioned papers.
- Clifton, Brian 2010 Advanced Web Metrics with Google Analytics, 2nd edition, Sybex Paperback.
- Plaza, B 2009 Monitoring web traffic source effectiveness with Google Analytics: An experiment with time series. Aslib Proceedings, 615: 474–482.
- Arikan, Akin 2008 Multichannel Marketing. Metrics and Methods for On and Offline Success. Sybex.
- Kaushik, Avinash 2007 Web Analytics: An Hour a Day, Sybex, Wiley.
- Srinivasan, J.2001 E commerce Metrics, Models and Examples, London: Prentice Hall.
- Bradley N 2007 Marketing Research. Tools and Techniques. Oxford University Press, Oxford.
- Kaushik, Avinash 2009 Web Analytics 2.0 - The Art of Online Accountability and Science of Customer Centricity. Sybex, Wiley.
- Mortensen, Dennis R. 2009 Yahoo! Web Analytics. Sybex.
- Farris, P., Bendle, N.T., Pfeifer, P.E. Reibstein, D.J. 2009 Key Marketing Metrics The 50+ Metrics Every Manager needs to know, Prentice Hall, London.
- Lenskold, J. 2003 Marketing ROI: how to plan, Measure and Optimise strategies for Profit’ London: McGraw Hill Contemporary
- Tullis, Tom & Albert, Bill 2008 Measuring the User Experience. Collecting, Analyzing and Presenting Usability Metrics. Morgan Kaufmann, Elsevier, Burlington MA.
- Davis, J. 2006 Marketing Metrics: How to create Accountable Marketing plans that really work’ John Wiley & Sons Asia.
- Burby, Jason and Atchison, Shane 2007 Actionable Web Analytics: Using Data to Make Smart Business Decisions.
- Sterne, J. 2002 Web metrics, Proven Methods for Measuring Web Site Success, London: John Wiley & Sons.
- Peterson Eric T 2004 Web Analytics Demystified: A Marketer’s Guide to Understanding How Your Web Site Affects Your Business. Celilo Group Media
- Zheng, J. G. and Peltsverger, S. 2015 Web Analytics Overview, In book: Encyclopedia of Information Science and Technology, Third Edition, Publisher: IGI Global, Editors: Mehdi Khosrow-Pour
- Peterson Eric T 2005 Web Site Measurement Hacks. OReilly ebook.