-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Understand customer interests with clickstream analysis
Ingest clickstream data and analyze your website customer activity with compelling interactive visualizations
Data Analytics
If you are interested in clickstream analysis with compelling interactive visualization, this code pattern is for you. This code pattern uses Scala in a Jupyter Notebook to ingest and analyze clickstream data. The data is fed into IBM Db2 Event Store which is optimized for event-driven data processing and analytics. Brunel is used to create interactive charts to visualize customer behavior.
By Mark Sturdevant and Siva Anne
- Example analysis notebook: http://nbviewer.jupyter.org/github/IBM/db2-event-store-clickstream/blob/master/data/examples/analyze_clickstream_events.ipynb
In this Code Pattern, we will see how a retail business uses IBM Db2 Event Store to capture and analyze clickstream data from its web channels. The clickstream analysis helps the business to closely track customer browsing patterns and better understand their changing interests. Acting on these insights, the business offers a personalized experience for every customer with targeted offers to drive sales.
Sample notebooks demonstrate the use case of clickstream analysis with IBM Db2 Event Store using Scala APIs to ingest and analyze web event data. IBM Db2 Event Store offers high-speed ingestion and real-time analytics for large volumes of streaming data. The platform enables event-driven applications to persist event data at scale and powers high performance Spark analytics on all data for quick insights.
Using Spark SQL and Brunel visualizations, interactive charts show the popularity of product lines, products, and features -- based on page hits and time spent on web pages. A view of a specific customer's most recent interests and activity over time is shown by drilling down to that customer's activity.
When the reader has completed this code pattern, they will understand how to:
- Install IBM Db2 Event Store developer edition
- Ingest data into Event Store using Scala in a Jupyter Notebook
- Query the Event Store using Scala and Spark SQL in a Jupyter Notebook
- Use Brunel to visualize the data with interactive charts
- Add a CSV file as a data asset
- Run a Jupyter Notebook using Scala to ingest data from the CSV file into Event Store
- Run a Jupyter Notebook using Scala and the Brunel visualization language to analyze the data from Event Store
- IBM Db2 Event Store: In-memory database optimized for event-driven data processing and analysis.
- Jupyter Notebook: An open source web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text.
- Scala: Scala combines object-oriented and functional programming in one concise, high-level language.
- Brunel: Brunel defines a highly succinct and novel language that defines interactive data visualizations based on tabular data.
- Databases: Repository for storing and managing collections of data.
- Analytics: Analytics delivers the value of data for the enterprise.
- Data Science: Systems and scientific methods to analyze structured and unstructured data in order to extract knowledge and insights.
- Ingest and Analyze Streaming Event Data at Scale with IBM Db2 EventStore
- Fast Data Ingestion, ML Equates to Smarter Decisions Faster
- IBM Db2 Event Store Solution Brief
- Overview of IBM Db2 Event Store Enterprise Edition
- Developer Guide for IBM Db2 Event Store Client APIs
- IBM Marketplace
- Getting Started with Scala and sbt