Custom Data Tags Configuration

interface ICustomDataTags {
    aiBlobAttributeTag?: string;
    captureAllMetaDataContent?: boolean;
    customDataPrefix?: string;
    dntDataTag?: string;
    metaDataPrefix?: string;
    parentDataTag?: string;
    useDefaultContentNameOrId?: boolean;
}

Properties

aiBlobAttributeTag?: string

Click Analytics supports a JSON blob content meta data tagging instead of individual data-* attributes. The default attribute is data-ai-blob. This property allows for changing that attribute name.

captureAllMetaDataContent?: boolean

Automatic capture all metadata names and content. Default is false. If enabled this will override provided metaTagPrefix.

customDataPrefix?: string

Automatic capture content name and value of elements which are tagged with provided prefix

dntDataTag?: string

Custom attribute Tag to not track telemetry data

metaDataPrefix?: string

Automatic capture metadata name and content with provided prefix

parentDataTag?: string

Stop traversing up the DOM to capture content name and value of elements when encountered with this tag

useDefaultContentNameOrId?: boolean

When a particular element is not tagged with content name prefix or content name prefix is not provided by user, this flag is used to collect standard HTML attribute for contentName and id.