Tag Conditional Trigger
What is a Conditional Trigger
Trigger metadata that treats keywords as criteria to show or hide the tag on your Website.
Setting up the Conditional Trigger
- Log in to the CINNOX Dashboard using your service domain (URL) and login credentials.
- From the navigation menu, go to Channels > Directory, find and open the tag details you want to configure its display in the Website using a conditional trigger.
- Click the Edit button
- Click the Add Conditional Trigger, and a pop-up window will display.
![Screenshot 2020-03-03 at 2.57.31 PM.png 2354](https://files.readme.io/cd8ae87-Screenshot_2020-03-03_at_2.57.31_PM.png)
Add Conditional Trigger
- Set keywords to control your tag display separated by comma "," (value should be anything from A-Z, a-z, and 0-9).
If you leave it blank, the tag will default to be shown in the Tag Directory.
![Screenshot 2020-03-03 at 2.57.50 PM.png 2342](https://files.readme.io/2b14b9b-Screenshot_2020-03-03_at_2.57.50_PM.png)
Setting Keywords for Conditional Trigger
Install the Conditional Trigger Meta on your Website
- Click the Copy button to copy the tag as the keywords for the trigger to show the tag in the Tag Directory.
![Screenshot 2020-03-03 at 3.03.55 PM.png 2372](https://files.readme.io/a1e047e-Screenshot_2020-03-03_at_3.03.55_PM.png)
Copy the Meta tag
- Paste the tag on your website page between and and save.
</> Code Snippet Parameters
<head>
<meta property="mc:metadata" content=""/>
</head>
Example
The Directory has 4 tags configured
![5f39c29-4Tags.png 1165](https://files.readme.io/2418bb0-5f39c29-4Tags.png)
Tag "SMS" has defined a conditional trigger keyword "sms".
![SMSKeyword.png 707](https://files.readme.io/7aeb8ea-SMSKeyword.png)
Tag "Virtual Numbers" has defined a conditional trigger keyword "virtual_number".
![VirtualNumberKeyword.png 701](https://files.readme.io/21c3895-VirtualNumberKeyword.png)
The other two tags, "General Enquiries" and "Technical Support", do not have a conditional trigger keyword.
![EmptyKeyword.png 693](https://files.readme.io/e5920a3-EmptyKeyword.png)
The web page related to SMS adds the HTML code's metadata property under the Head tag section.
![Tag Conditional Trigger_1.png 761](https://files.readme.io/e476043-Tag_Conditional_Trigger_1.png)
Then the CINNOX Directory in the SMS-related pages will show as below.
![9884a3e-DirectorySMS.png 347](https://files.readme.io/09df302-9884a3e-DirectorySMS.png)
Virtual Numbers' web page adds the metadata property in the HTML code under the head tag section.
![Tag Conditional Trigger_2.png 741](https://files.readme.io/4467a56-Tag_Conditional_Trigger_2.png)
Then the CINNOX Directory in the Virtual Number-related pages will show as below.
![Tag Conditional Trigger_3.png 349](https://files.readme.io/3de3c3e-Tag_Conditional_Trigger_3.png)
Updated 5 months ago