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
elbfunction withwalker initsupport
Installation
- npm
- script
Loading...
Loading...
Loading...
Configuration
| Property | Type | Description | More |
|---|---|---|---|
prefix | string | Prefix for data attributes (default: data-elb) | |
scope | string | DOM scope for event tracking (default: document) | |
pageview | boolean | Enable automatic pageview tracking | |
session | boolean | any | Enable session tracking (boolean or SessionConfig object) | |
elb | string | Name for global elb function | |
name | string | Custom name for source instance | |
elbLayer | boolean | string | any | Enable 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 initfor 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
- Tagging Guide - Learn about data attributes
- Commands Reference - Full API documentation
- Tagger Tool - Visual tagging tool
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.