Big Data Analytics with Clickstream

Clickstream is the route visitors choose when navigating through any given website. It’s a collection of events collected on the pages visited, products viewed, items searched for a given user. The data from clickstream is one facet of many that provide valuable insights on assessing performance of multi-channel marketing. Data mining of click paths caters to the interest of users and the capability to personalize the experience for a given user.

Clickstream reports help analyze and boost revenue generation, identifying the root causes of bounce rates such as abandonment of cart. It helps compare and provide product recommendations based on multi-device usages.

Application Use Cases of Clickstream Data

  1. Personalization: Capability to personalize data
    1. “in the moment” - online,
    2. “in context” - nearline and
    3. “In-depth” - offline.
  2. Recommendation on
    1. Inspirational
    2. Similar
    3. Did-This, Did-That
    4. Complementary
    5. Seasonal
    6. User Segmentation

Architecture of the Real Time Analytics Engine

 

clickstream.png

Technical Insights into the Architecture depicted above:

  1. Website fires away clickstream events on every user activity.
  2. Highly scalable HTTP collector service built with node.js accepts all of these incoming async events.
  3. Async events are then funneled to a message broker such as Rabbit MQ as JSON events.
  4. Log ingestor such as Flume will subscribe to the queue and consume the events. Flume supports a wide variety of data.
  5. Flume interceptors kick in to convert the JSON records to AVRO for fast and efficient processing.
  6. ETL transformations are performed by Morphline.
  7. The events are forwarded from source to HDFS Data Lake through the flume memory channel via the AVRO serializer.
  8. We have Oozie as the workflow scheduler which helps trigger the MapR job at regular intervals.
  9. The MapR job is written using Apache Crunch. The Apache Crunch goal is to make pipelines that are composed of many user-defined functions simple to write, easy to test, and efficient to run.
  10. The aggregated session’s data can now be queried off the Apache Hive data warehouse infrastructure which is built on top of Hadoop.
  11. Reporting tools can now query off the Hive/Druid cluster and perform behavioral analysis.

By Naveen Rajagopalan on Feb 3, 2016 6:58:43 AM

Naveen is an Architect with Ness Bangalore and specializes in the e-commerce space. His versatile skill-sets include Adobe Flash, Adobe Flex, Node.js, CMS and the Big Data stack. An ardent enthusiast of the Big Data ecosystem, Naveen works on the most advanced and innovative projects.

0 Comments

Sign up for our Newsletter