Rule components
A rule component must be associated with an event, condition, or action that belongs to an extension package. This represents the rule component’s “type” as it pertains to the logic of the overall rule (an event, a condition, or an action). Therefore, when creating a rule component, a delegate descriptor ID must be provided to indicate which event, condition, or action the rule component should be associated with.
For example, to create an event rule component that is based on a click
event in an extension package example-package
, the rule component would use the following delegate_descriptor_id
value: example-package::events::click
.
See the section on creating a rule component for more information.
Data elements
A data element must be associated with an extension package when it is first created, as each extension package defines the compatible types for its delegate data elements, as well as their intended behavior.
For example, to create a data element that uses the cookie
type as defined by a the extension package example-package
, the data element would use the following delegate_descriptor_id
value: example-package::dataElements::cookie
.
See the section on creating a data element for more information.
Extensions
An extension is automatically associated with an extension package when it is first created, and is represented within the extension’s relationships
object. If your extension requires custom settings, then it also requires a delegate descriptor ID.
For example, to add a delegate descriptor ID to an extension that belongs to the extension package example-package
, the extension would use the following delegate_descriptor_id
value: example-package::extensionConfiguration::config
.
See the guide on creating an extension for more information.