Dataphin tags enable the configuration of rule combination tags via visualization. These tags combine the results of offline tags with online services and real-time tags to determine tag values. This guide will walk you through the process of creating real-time tags using rule combinations.
Prerequisites
To create real-time tags through rule combination, you must first establish real-time tags with indicator mapping within the project and develop offline tags with online services enabled. Additionally, you can import tags from the asset market into your project for combination purposes. For detailed instructions, 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
Input the tag name, which can include Chinese characters, English letters, numbers, and underscores (_), and must not exceed 64 characters.
Entity-Entity ID
Choose the necessary entity and entity ID for the real-time tag's processing.
Tag Type
Classify tags by their processing method:
Attribute Tag: Describes objective facts and is a fundamental tag for entity profiles, such as gender or name.
Statistical Tag: Created based on business needs through statistical analysis of entity behavior or attributes, like a purchase amount tag for the past week.
Predictive Tag: Forecasts entity characteristics or behavior using algorithmic models, such as predicting a user's permanent province.
Combination Tag: Formed by applying specific rules for tag combination processing, like consumer segmentation tags.
Timeliness
Defines the update frequency of tags over time, categorized into dynamic and static:
Static Tag: Typically 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, like an order amount tag for the most recent week.
Tag Description
Provide a concise description of the tag, not exceeding 1000 characters.
Technical Attributes
Parameter
Description
Tag Code
A unique identifier for the tag, useful for locating specific tags when there are multiple with the same name. It should start with a letter and can include lowercase English letters, numbers, and underscores (_), within 64 characters.
Tag Update Method
Real-time tags support exclusively the real-time update method and cannot be modified.
Tag Owner
Designate 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
Specify the tag version number, which can include letters, numbers, underscores (_), hyphens (-), and periods (.), within 64 characters.
Value Type
Determine the value type for the real-time tag. By default, it is set to Boolean and is not subject to modification.
Tag Configuration
Choose and set up the conditions for the tags to be configured. You can use up to 5 levels of nesting and include 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 has been created and published, you can list it in the appropriate market for management and utilize it in future tag development projects. For additional details, see managing tags.