OptionalappOptionalappA numerical app version value which can be used for user segmentation. This value must be sent with four fields, such as "1.2.3.4", otherwise it will be ignored.
Note: appVersion must also be set, either with the same value or a unique name for this version.
OptionaldeviceBy default, Braze will assign a random guid as the device ID. Provide a value for this configuration option to override that default with a value of your own.
OptionaldeviceBy default, the Braze SDK automatically detects and collects all device properties in [[DeviceInfo]]. To override
this behavior, provide an array of [[DevicePropertyKey]]. To disable all properties being sent to Braze servers, provide
an empty array. Note that without some properties, not all features will function properly. For instance, without the time
zone, local timezone delivery will not function.
OptionalenableSet to true to enable logging by default. Note that this will cause Braze to log to the javascript console, which is visible
to all users! You should probably remove this or provide an alternate logger with [[setLogger]] before you release
your page to production.
OptionalenableSet to true to enable the SDK Authentication feature. For more information about SDK Authentication, see our Product Documentation.
OptionalflushBy default, the Braze SDK will flush data in the cache every 10 seconds. Providing this option will override the interval. The minimum flush interval is 3 seconds.
OptionalminimumBy default, a trigger action will only fire if at least 30 seconds have elapsed since the last trigger action. Provide a value for this configuration option to override that default with a value of your own. We do not recommend making this value any smaller than 10 to avoid spamming the user with notifications.
OptionalopenA function called when handling links within in-app messages.
The URI to open
Whether the link should be opened in a new tab
The event that triggered the redirect
The SDK version of the consuming SDK
OptionalsessionBy default, sessions time out after 30 minutes of inactivity. Provide a value for this configuration option to override that default with a value of your own.
If you provide a value for this option, user events sent to Braze will be associated with the given version, which can be used for user segmentation.