Introduction: Data Attributes in OmmaSign are versatile variables that can be defined in both shops and device settings. These attributes enable the creation of dynamic, context-specific content displays by integrating with Display Rules.
Step 1: Understanding Data Attributes
Data Attributes are variables that can be assigned to shops or devices.They allow you to tailor content display based on the specific characteristics or conditions of a shop or device.
Data Attributes work in tandem with Display Rules to automate content changes based on real-time data.
Step 2: Defining Data Attributes
In Shops:
In Device Settings:
Step 3: Attaching Data Attributes to Display Rules
Linking Attributes to Display Rules:
Navigate to the Content section and select the content you want to control with Display Rules.
Go to the Display Rules tab within the content editor.
Add a new rule and select “Data Attribute” as the condition.
Defining Rules Based on Data Attributes:
Testing and Applying Rules:
Test the Display Rules to ensure that the content behaves as expected based on the device’s Data Attributes.
Apply the rules and monitor the content to verify dynamic adaptation across devices.
Step 4: Examples of Data Attributes Usage
Store Type-Specific Content:
Use a
StoreType
attribute to deliver tailored content for different types of stores, such as QSR or retail.
Screen Orientation-Specific Layout:
Utilize the
ScreenOrientation
attribute to automatically adjust the content layout between portrait and landscape modes.
Promotion-Based Content Trigger:
Define a
PromotionActive
attribute to automatically switch content when a promotion is active in a specific store.
Conclusion: Data Attributes provide a powerful way to customize and adapt content dynamically across different devices in OmmaSign. By defining these attributes in device settings and integrating them with Display Rules, you can ensure your content is relevant, context-aware, and effectively targeted.
_______
Previous: 7.7 Datasources
_______
Related