StaticallowThe tracking blocklist item to allow.
StaticblockBlocks tracking for the specified [AirbridgeTrackingBlocklist] item.
This function adds the given item to the current TrackingBlocklist
applied in the airbridge.json, disabling tracking at runtime.
The tracking blocklist item to block.
StaticclearStaticclearStaticclearStaticclearStaticclearStaticclearStaticclearStaticclickNotifies that an in-app area within an app has been clicked on by the user.
tracking link uri
OptionalonSuccess: (() => void)Callback to be invoked when tracking link is successfully handled.
OptionalonFailure: ((error: Error) => void)Callback to be invoked when any error occurs.
true if all of the following conditions are met below, false otherwise.
StaticcreateCreates a tracking-link using airbridge-server that move user to specific page of app and track click-event.
The channel of tracking-link.
The option to create tracking-link.
Created tracking-link is delivered if succeed.
OptionalonFailure: ((error: Error) => void)Error is delivered if failed.
StaticcreateCreates a script that initialize the web interface.
The token to initialize Airbridge Web SDK.
The JavaScript code to post commands from web to app.
web interface script
StaticdisableSDKStaticenableSDKStaticfetchFetch airbridgeGeneratedUUID of SDK.
Callback to be invoked when airbridgeGeneratedUUID is successfully handled.
OptionalonFailure: ((error: Error) => void)Callback to be invoked when any error occurs.
StaticfetchFetch deviceUUID of SDK.
Callback to be invoked when deviceUUID is successfully handled.
OptionalonFailure: ((error: Error) => void)Callback to be invoked when any error occurs.
StatichandleStaticimpressionNotifies that the in-app area within the app has been exposed to the user.
tracking link uri
OptionalonSuccess: (() => void)Callback to be invoked when tracking link is successfully handled.
OptionalonFailure: ((error: Error) => void)Callback to be invoked when any error occurs.
true if all of the following conditions are met below, false otherwise.
StaticisStaticisSDKEnabledStaticisStaticisStaticregisterStaticremoveStaticremoveStaticremoveStaticsetStaticsetStaticsetStaticsetStaticsetStaticsetStaticsetStaticsetStaticstartStaticstartStaticstopStaticstopStatictrackTracks user behavior through event tracking with attributes.
Name of event.
OptionalsemanticAttributes: Record<string, any>Additional attributes of the event that defined by Airbridge.
OptionalcustomAttributes: Record<string, any>Additional attributes of the event.
Allows tracking for the specified [AirbridgeTrackingBlocklist] item. This function removes the given item from the current TrackingBlocklist applied in the
airbridge.json, enabling tracking at runtime.