Skip to main content
Source code Package

Browser Source

Captures user interactions directly from the DOM using data attributes.

Features

  • Data attribute reading: Extracts tracking data from data-elb-* attributes
  • Session management: Automatic session detection and handling
  • Pageview tracking: Automatic or manual page view events
  • DOM commands: Enhanced elb function with walker init support

Installation

Loading...
Loading...

Configuration

PropertyTypeDescriptionMore
prefix*stringPrefix for data attributes (default: data-elb)
scopestringDOM scope for event tracking (default: document)
pageview*booleanEnable automatic pageview tracking
session*boolean | anyEnable session tracking (boolean or SessionConfig object)
elb*stringName for global elb function
namestringCustom name for source instance
elbLayer*boolean | string | anyEnable elbLayer for async command queuing (boolean, string, or Elb.Layer)
* Required fields

Enhanced elb Function

The browser source returns an enhanced elb function with additional features:

Loading...

Browser Source elb adds:

  • DOM Commands: walker init for asynchronous DOM element loading
  • Flexible Arguments: Support for multiple argument patterns
  • elbLayer Integration: Automatic processing of queued commands
  • Element Parameters: Support for element parameters in commands

See Commands for complete API documentation.

Next Steps

💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.