tagOverlay
Tags a BrowserSDK:TaggableElement to be tracked as OverlayContext.
tagOverlay = (parameters: {
id: string,
options?: TagLocationOptions,
onError?: TrackerErrorHandlerCallback
}) => TagLocationReturnValue
info
This attribute directive builds on top of BrowserSDK:tagOverlay
Parameters
type | default value | ||
---|---|---|---|
required | id | string | |
optional | options | BrowserSDK:TagLocationOptions | { trackVisibility: { mode: 'auto' } } |
optional | onError | BrowserSDK:TrackerErrorHandlerCallback | TrackerConsole.error |
Returns
BrowserSDK:TagLocationReturnValue
Events
Unless customized via the options
parameter, automatically triggers:
Examples
<div [tagOverlay]="{ id: 'modal-id' }">
...
</div>