Learning Objectives
By the end of this section, you will be able to:
- Explain the role and importance of web analytics
- Examine how web data are collected
- Discuss the web analytics techniques used by businesses to drive site recognition and sales
- Explain search engine optimization
Web analytics is a powerful tool that provides valuable insights into the performance and behavior of websites. The process of web analytics involves the collection, measurement, analysis, and reporting of data related to website usage and user interactions to understand and optimize user behavior, engagement, and overall performance. With it, organizations can track various metrics such as website traffic, page views, bounce rates, conversion rates, and user demographics. These metrics enable businesses to gain a deeper understanding of their online presence, user engagement, and marketing effectiveness, such as determining the potential buyer personas and building an understanding of the individuals accessing the website.
The Role and Importance of Web Analytics
With the proliferation of internet usage and the exponential growth of online businesses, the ability to track, analyze, and interpret user behavior on websites has become indispensable. Web analytics provides organizations with invaluable insights into their audience demographics, preferences, and interactions, enabling them to make informed decisions and refine their online strategies. By harnessing the power of data-driven insights, businesses can enhance user experiences, optimize key metrics, and ultimately drive growth and success in the competitive online landscape.
Improving an Organization’s Online Presence
Web analytics play an important role in helping organizations optimize their websites and improve their online presence. By analyzing the data obtained, organizations can identify areas for improvement and make data-driven decisions to enhance their websites. For example, through web analytics, organizations can identify pages with high bounce rates and low conversion rates, indicating potential issues in user experience or content. A bounce rate in web analytics refers to the percentage of visitors who navigate away from a website after viewing only one page, indicating a lack of engagement or interaction with additional content. A conversion rate in web analytics refers to the percentage of website visitors who complete a desired action, such as making a purchase, filling out a form, or signing up for a newsletter.
Based on the data, an organization can make targeted improvements, such as optimizing page load times, enhancing navigation, or refining the messaging on those pages. This knowledge enables organizations to tailor their online strategies, optimize marketing efforts, and create a seamless user experience, ultimately driving higher customer satisfaction and better online performance.
Optimizing Metrics
A metric is a quantifiable measure used to track and evaluate the performance, progress, or success of a particular aspect of a business, campaign, or activity. Metrics provide specific data points that can be analyzed to gain insights into how well a website or digital platform is performing. They can include a wide range of measurements, such as website traffic, conversion rates, bounce rates, session duration, and many others. A KPI is one type of metric, for example. These are typically high-level metrics that directly align with the organization’s goals and are critical for assessing performance and progress.
The ability to use these metrics to measure website performance and user behavior allows organizations to gauge the effectiveness of their online presence. Web analytics provide insights into KPIs such as the number of unique visitors, page views, average session duration, and conversion rates. These metrics allow organizations to track and measure their website’s success over time and compare it against predefined goals and benchmarks. They can also identify opportunities for optimization, refine marketing strategies, and create personalized user experiences based on user preferences and patterns.
Gaining Insights
By using the data from web analytics, decision-makers can gain a comprehensive understanding of their website’s performance, identify areas of improvement, and assess the impact of various marketing initiatives or website changes. For example, web analytics can help determine the effectiveness of different advertising campaigns by tracking referral sources, click-through rates, and conversion rates associated with each campaign.
Measured as a percentage, the click-through rate (CTR) tells the viewer how effective an ad is at attracting clicks. The CTR represents the total clicks an ad receives divided by the total impressions, or instances the ad is loaded on a page. A 2 to 5 percent CTR is generally accepted as being successful, but this varies by industry. So if an ad was viewed 10,000 times and was clicked on 500 times, that’s a 5 percent CTR. The CTR helps assess the effectiveness of digital marketing efforts. It allows decision-makers to allocate resources effectively and invest in strategies that generate the highest ROI.
Global Connections
Web Analytics Tools Abroad
The methods by which information systems teams analyze web metrics are universal. Techniques include funnel analysis, page view tracking, search engine optimization, bounce rates, and others. However, rules and local practices vary internationally, which begs the question: what tools are used in other developed countries?
In South Korea, a web metric analysis tool that has made waves is Naver Analytics. The project grew out of a search engine tool and now deploys AI-based algorithms to process user behavioral data. In China, a popular tool for web metric analysis is Baidu Tongji (called Baidu Analytics outside of China). Like the popular Google Analytics, the tool requires webmasters to insert some JavaScript code into each page of a website for tracking important KPIs.
Web Data Collection
Different web analytics tools and techniques collect website data using various methods. Here are a few common approaches:
- Page tagging: The method of embedding a snippet of JavaScript code, known as a tracking tag or pixel, on each webpage to track user interactions, behaviors, and events is called page tagging. When a user visits the website, the tag sends information to the organization’s analytics tool, which captures data such as page views, clicks, and user interactions. Page tagging is widely used and allows for detailed tracking and customization, as the code can be modified to collect specific data points.
- Log file analysis: Analyzing server log files to gather data on website traffic, user behavior, and server performance, providing insights into website usage patterns and potential issues is called log file analysis. Log files record every request made to an organization’s server, including details such as IP addresses, user agents, and accessed URLs. This can provide information about website traffic, user behavior, and errors. However, log file analysis requires expertise in the handling and interpreting of raw log data.
- JavaScript events: Web analytics tools can track specific user interactions through JavaScript events. Any time a user completes an action such as submitting a form or adding an item to a cart, this creates a conversion event. These events are typically tracked using JavaScript code embedded on the website, allowing the organization’s analytics tool to collect data as the events occur.
Web Data Analysis
Data scientists can leverage various web analytics tools and techniques to analyze website data and derive meaningful insights. Some of the common tools include web analytics platforms, data extraction and transformation, statistical analysis and modeling, and custom analysis and visualization tools.
Web Analytics Platforms
Web analytics platforms offer a wide range of features and functionalities to explore and analyze website data. Data scientists can access prebuilt dashboards, reports, and visualizations provided by these tools to gain insight into website performance, user behavior, and conversion metrics. They can segment data based on various dimensions, apply filters, and conduct in-depth analysis using available metrics and dimensions. Additionally, these platforms often offer advanced features like custom event tracking, goal tracking, and e-commerce tracking, enabling data scientists to perform detailed analyses tailored to specific business goals.
Data Extraction and Transformation
Data scientists can extract data from web sources using their APIs or data export tools. Extraction involves removing data, often in multiple forms, from an online source or repository. Frequently, the data file types vary and come in an unstructured form. Extraction makes it possible to filter, organize, and store the data in a common location. Analysts can programmatically retrieve raw data, such as page views, events, and user demographics. To put the data into usable context, it may be helpful to extract data from multiple sources, transform the data into a usable format, and load the data into a data warehouse for data analytics, a process called extract-transform-load (ETL) (Figure 8.13). These steps are as follows:
- Information is extracted from one or more sources and is prepared for transformation.
- Transformation may involve cleaning up missing or inconsistent data, creating new derived variables, and transforming data into a suitable format for analysis. The data are filtered and organized.
- The transformed data are loaded into a centralized location.
Future Technology
Self-Service Business Intelligence
Some research suggests that the digital divide appears to be closing. Thanks to self-service ad hoc tools, an increasing number of people can perform tasks previously only possible with the help of professional data analysts and engineers. Historically, data professionals function as “gatekeepers” of the data analysis tools, turning raw data into insightful material. As the name implies, self-service BI provides an opportunity for individuals to proactively derive actionable insights without the need for highly trained professionals to provide oversight.12 The future of BI may very well eliminate the middleman, allowing executives and other interested parties to run queries, build visualizations, and create dashboards without specialized training.
Statistical Analysis and Modeling
With data that have undergone the ETL process, data scientists can apply various statistical analysis techniques and modeling approaches to gain insights and make predictions. They can use tools like exploratory data analysis classification and customer segmentation.
Exploratory Data Analysis
Exploratory data analysis (EDA) is the process of conducting the initial review of a dataset to spot any patterns or trends early on. Data analysis at this stage looks for relationships between variables. When one feature increases, does another feature do the same? What are the correlations, if any? This initial overview helps data scientists formulate the right questions to ask. Visual outputs can help by providing clues to these relationships. Consider the scatterplot diagram in Figure 8.14. This data from an educational environment recorded student absences and cross-referenced them with the final grade point average (GPA).
You can observe quickly that there is indeed a relationship between the variables of absences and GPA. The lower the absences (the independent variable), the higher the GPA. The trend goes downward and to the right, signifying a negative correlation.
Classification
A scatterplot like the one in the previous example is helpful not only for seeing trends but also for classifying data. One such approach involves clustering, which involves identifying the most relevant characteristics of the data and plotting them out, with the idea being that similar data points will appear to cluster together near the average value, or centroid. Using the iris dataset (refer to 8.1 The Business Analytics Process), you can plot data on petal width (Figure 8.15). For clarity, the apparent clusters are colored differently to communicate the distinctions better visually. For example, the Iris setosa data group together in the lower-left portion of the chart and are colored purple.
Customer Segmentation
To better determine how to market goods and services, organizations must understand their audience. By studying customer behavior patterns and other features, organizations can divide customers into groups, which will make the target audience easier to reach. One way is to use k-means clustering, which is an unsupervised machine learning algorithm used for clustering data into distinct groups based on similarity. It works by dividing a dataset into k clusters, where each data point belongs to the cluster with the nearest mean (centroid). The algorithm iteratively updates the centroids and reassigns data points until the clusters stabilize or reach a convergence criterion. For example, k-means can segment customers based on purchasing behavior to identify distinct buyer personas.
Consider an example. Suppose you are tasked with breaking a group of customers down into manageable groups with labels so the marketing team can plan the advertising campaigns more effectively. The first thing you might do is conduct a study that classifies the sample data into age, annual income, and spending score. Spending score is assigned to each member of the study and is based on historic information such as spending habits and other customer behavior (Table 8.3).
CustomerID | Age | Annual Income (in $1,000) | Spending Score (1–100) |
---|---|---|---|
1 | 18 | 99 | 58 |
2 | 21 | 43 | 48 |
3 | 19 | 129 | 21 |
4 | 35 | 77 | 29 |
5 | 31 | 86 | 28 |
6 | 24 | 143 | 25 |
After this, you might perform an EDA to remove outliers. For example, suppose that in the summary statistics, you notice that the average income for consumers aged twenty-five to thirty years is $45,000; however, one data point has a twenty-six-year-old influencer who earns $2.6 million. This will throw off the averages and results dramatically, so that value is excluded. Cleaning the data using the ETL process will make it more accurate and effective for the next stage of the process—analysis and visualization.
Custom Analysis and Visualization
Data scientists can also utilize programming languages such as Python or R to perform custom analysis on the cleaned data. They can leverage libraries and packages specific to web analytics, such as the Google Analytics Reporting API client libraries for Python or R, to access and analyze data programmatically. To gain greater flexibility in conducting advanced analysis, implementing specific algorithms, and creating tailored visualizations to communicate insights effectively, data scientists often write custom code.
Using the data from the customers in your study to help the marketing team, after you clean the data, your next goal might be to identify which characteristics have the most impact on the customer’s spending score. You could investigate this by trying to plot age versus spending score (Figure 8.16).
Looking at the resulting scatterplot, you can observe that the data seem to be distributed evenly across the whole graph. However, looking more closely, you can see some groups of data, such as a spending score over eighty in people ages seventy to ninety years, a spending score between forty and sixty in people ages forty to sixty years, and a spending score between twenty and forty in people ages twenty to forty years. These distributions likely do not tell the whole story, which can lead you to examine the relationship between age and annual income to determine if that provides any insights (Figure 8.17).
Again, the data here is distributed somewhat evenly across the graph, but there are some clusters of data. The first shows one cluster of people between ages forty and sixty years with the highest annual incomes, between $150,000 and $200,000, and another cluster shows people between the ages of twenty and forty with incomes between $100,000 and $150,000.
With this data in mind, the next step is to examine the correlation between spending score and annual income (Figure 8.18).
Here, there are several clusters of data that give the marketing team a better idea of who their target audience is. Spending score is highest across all income groups but especially for customers who earn $100,000 to $150,000 annually. There is also a cluster of customers ages twenty to forty in that income group, but the customers ages seventy to ninety show a cluster with a higher spending score than those younger customers. These data may be used to show shopping trends, but they do not provide data on what the customers are buying, so the marketing team will need to do some additional analysis on products to further refine their target audience.
This example shows how data scientists can employ web analytics tools and techniques to access, transform, and analyze website data. They can use the tools to uncover meaningful patterns, correlations, and trends, providing valuable insights into website performance, user behavior, and marketing effectiveness. The analysis conducted by data scientists helps organizations optimize their online presence, make informed decisions, and drive business success in the digital landscape.
Search Engine Optimization
Optimizing website content and structure to increase visibility and ranking on search engine results pages is called search engine optimization (SEO). The process involves improving various elements of a website, such as optimizing content with relevant keywords, ensuring proper structure and navigation, acquiring high-quality backlinks, and providing a positive user experience. By following SEO principles, websites can attract more organic traffic and increase their online visibility. In web analytics, “organic” traffic refers to website visitors who arrive at a site through unpaid search engine results, excluding any visits generated from paid advertising or other referral sources.
Identifying Areas for Improvement
Data can be analyzed to uncover insights such as which pages have high bounce rates or low conversion rates or are underperforming. By examining user behavior, traffic sources, and engagement metrics, data scientists can pinpoint specific areas where improvements can be made. These improvements might involve, for example, optimizing landing pages, refining calls to action, or streamlining the checkout process. Web analytics tools provide visualizations, reports, and data segmentation capabilities to support this analysis.
A/B Testing
The method A/B testing, also referred to as split testing, is used to compare two versions (A and B) of a webpage, email, or advertisement to determine which one performs better in terms of user engagement or conversion rate. This process randomly splits website visitors into different groups and exposes them to different versions of a page that may have, for example, different headlines, layouts, or calls to action. A call to action is a prompt or directive placed within a website, an advertisement, or marketing material that encourages users to take a specific action, such as making a purchase, signing up for a newsletter, or requesting more information.
A/B testing helps identify which elements have a positive impact on user engagement, conversion rates, or other key metrics, and this enables organizations to make data-driven decisions about how to optimize their websites and improve overall performance. This testing can be accomplished by dividing pages into control and variant groups, and the changes can be implemented on either the server side or client side.
On the server side, SEO tests point toward the code itself. The advantage is a smoother and more stable experience for the user. The drawback is its higher complexity, which may require knowledgeable information technology staff to implement and monitor. Client-side testing is deployed with JavaScript coding. There’s a slight unsteadiness between the old and new versions of a page. The advantage here is that it is easier to implement. The process does not require hardwiring or specialized training.
Link to Learning
You can unlock the secrets of effective web design with A/B testing. Discover how to improve approaches to web design, fine-tune layouts, optimize content, and increase conversion rates. Read about how web analytics professionals unlock the potential of a website in this article.
Footnotes
- 12Michael Segner, “The Future of Business Intelligence,” Monte Carlo, updated January 20, 2024. https://www.montecarlodata.com/blog-the-future-of-business-intelligence/