Beacon API Docs
  • Beacon - Installation
  • Beacon - Usage
    • Beacon Usage - Overview
    • Usage in a Next.js Environment
    • Open and Close Programmatically
  • Native Routing in Beacon
    • Vanilla JS - Native Routing Example
    • React JS - Native Routing Example
    • Vue JS - Native Routing Example
    • Angular JS - Native Routing Example
  • Loading User Data into BeaconBar
  • Loading Session Data into Beacon Bar
  • Callbacks in Beacon
    • Add Callbacks in Beacon
    • Remove Callbacks in Beacon
    • React Example for Callbacks
  • Trigger smart journeys From Your App
  • Execute Command From Your App
  • Open Help Docs From Your App
  • Emitting Events to Beacon
  • Listening to events from Beacon Bar
    • Adding event listeners in Beacon
    • Removing event listeners in Beacon
    • React Example for Event Listeners in Beacon
  • List of events emitted by Beacon Bar
  • Implementing Content Security Policy (CSP) for Beacon Integration
Powered by GitBook
On this page

Listening to events from Beacon Bar

PreviousEmitting Events to BeaconNextAdding event listeners in Beacon

Last updated 1 year ago

Many a times, you may want to execute a specific action based on user's activity within beacon bar or capture the event data for your analytics. To facilitate this, beacon emits events for every action user does within beacon bar, you can capture them and write your own logic on top of that.

Adding event listeners in Beacon
Removing event listeners in Beacon
React Example for Event Listeners in Beacon
List of events emitted by Beacon Bar