Engage.js behaviors.#Configuration
While the default configuration works for most use cases, you might want to
configure some of
ℹ️ Your Dashboard configuration will override these configuration values unless
they have been set with a read-only mode.
#Usage
.config(optionName: String, optionValue: Any, readOnly?: Boolean): Engage.config(options: Object, readOnly?: Boolean): Engage#Options
#debug
- Type: Boolean
- Default: false
When debug mode is enabled, Engage.js will log everything it does in the browser console.
#autoPageViews
- Type: Boolean
- Default: true
When autoPageViews is enabled, Engage.js will automatically increment the page views counter on every page load (front-end applications using virtual routing should commit pageviews using
.commitPageView()).#stripePublicKey
- Type: String
- Default: null
Used to enable Stripe credit card form fields inside elements.
#locale
- Type: String
- Default: 'en'
The locale used by default texts inside elements.
#pianoAutoTrackingEnabled
- Type: Boolean
- Default: false
Enable/disable automatic Piano tracking for particular events.
⚠️ Piano SDK integration required, i.e using
pa() tracking method.#gtagAutoTrackingEnabled
- Type: Boolean
- Default: false
Enable/disable automatic Google Analytics 4 tracking (Google Analytics 4 tag required) for particular events.
⚠️ Google Analytics 4 integration required, i.e using
gtag() tracking method.