Create a Clickstream event collector in 10 minutes using Azure Logic App
Published in
5 min readDec 18, 2019
I recently wrote about using clickstream events collectors, such as Snowplow or Divolte, to power more reliable and deeper analytics. It is however, possible to create your clickstream event collector in a few clicks using Microsoft’s Cloud.
Components overview
Besides the tracking script, the Azure stack can handle all the functions of a clickstream collector with three components: Logic App, EventHub, and DataLake Storage.
- Tracking Script: A tracking script is a piece of javascript that will be downloaded by the browser, and that will track and send the different events to the clickstream collector.
- Logic app: The role of Azure logic is only to capture the message and push it to an event hub “topic”.
- EventHub: EventHub is there to host the events for real-time processing, a specific setting called data capture allows to export the data onto an Azure Blob Storage or DataLake Storage.
- DataLake Storage: Provides a long term storage for the data pushed to Event Hub