Dataphin supports configuring rule combination tags through a visual interface. These tags combine the results of offline tags with online services enabled and real-time tags to produce tag values.
Prerequisites
Before you begin, create real-time tags with indicator mapping in the project and develop offline tags with online services enabled. You can also import tags from the asset market into your project for combination. For more information, see requesting asset permissions.
Procedure
-
On the Dataphin home page, navigate to the top menu bar and select Tag > Tag Workbench.
-
In the left-side navigation pane, choose Tag Processing > Realtime Tag.
-
On the real-time tag page, select the Project Tags tab. Within this tab, click Add Tag.
-
In the Add Real-time Tag dialog box, choose Combination Tag.
-
At Step 1 of the Add Rule Combination configuration page, set up the basic information for the real-time tag, including Business Attributes and Technical Attributes.
-
Business Attributes
Parameter
Description
Tag Name
Enter the tag name. The name can contain Chinese characters, English letters, numbers, and underscores (_), up to 64 characters.
Entity-Entity ID
Select the entity and entity ID for the real-time tag.
Tag Type
The tag classification based on processing method:
-
Attribute Tag: Describes objective facts and serves as a fundamental tag for entity profiles, such as gender or name.
-
Statistical Tag: Created through statistical analysis of entity behavior or attributes based on business needs, such as a purchase amount tag for the past week.
-
Predictive Tag: Forecasts entity characteristics or behavior by using algorithmic models, such as predicting a user's permanent province.
-
Combination Tag: Formed by applying rule-based combination processing, such as consumer segmentation tags.
Timeliness
The update frequency of tags over time, categorized as dynamic or static:
-
Static Tag: Represents an entity's inherent characteristics that do not change over time, such as gender or name.
-
Dynamic Tag: Requires regular updates to maintain accuracy, such as an order amount tag for the most recent week.
Tag Description
Enter a description of the tag, up to 1000 characters.
-
-
Technical Attributes
Parameter
Description
Tag Code
A unique identifier for the tag, useful for distinguishing tags with the same name. The code must start with a letter and can contain lowercase English letters, numbers, and underscores (_), up to 64 characters.
Tag Update Method
Real-time tags support only the real-time update method. This value cannot be changed.
Tag Owner
Specify the owner of the real-time tag.
-
-
Proceed to Step 2 of the Add Rule Combination configuration page to define the Processing Logic for the real-time tag.
Parameter
Description
Version Number
Enter the tag version number. The version number can contain letters, numbers, underscores (_), hyphens (-), and periods (.), up to 64 characters.
Value Type
The value type of the real-time tag. This is set to Boolean by default and cannot be changed.
Tag Configuration
Select and configure conditions for the tags. You can use up to 5 levels of nesting and up to 10 conditions involving different tags.
-
Select Submit to finalize the creation of the real-time tag.
Once the real-time tag is created, it must be published to be operational.
-
In the list of real-time tags, click the operation column
to initiate the publishing process. -
In the Publish Tag dialog box, choose the tag version to be published.
NoteBefore publishing, you may review the changes by clicking View Version Comparison to ensure accuracy and confirm the correct version.
-
Click Confirm to complete the tag's publishing process.
-
What to do next
After the real-time tag is created and published, you can list it in the appropriate market for management and use it in subsequent tag development projects. For more information, see managing tags.