AI-generated Key Takeaways
-
A rule item represents an atomic rule and includes fields for name and the specific type of rule item.
-
The
namefield is a string representing the rule variable name and must follow specific naming conventions. -
Websites have built-in variables for URL and referrer URL that can be used as the
name. -
The
rule_itemfield is a union that can be a number, string, or date rule item, each representing an atomic rule composed of a corresponding operation type.
An atomic rule item.
| Fields | |
|---|---|
|
Rule variable name. It should match the corresponding key name fired by the pixel. A name must begin with US-ascii letters or underscore or UTF8 code that is greater than 127 and consist of US-ascii letters or digits or underscore or UTF8 code that is greater than 127. For websites, there are two built-in variable URL (name = 'url__') and referrer URL (name = 'ref_url__'). This field must be populated when creating a new rule item. |
Union field
|
|
|
An atomic rule item composed of a number operation. |
|
An atomic rule item composed of a string operation. |
|
An atomic rule item composed of a date operation. |