Build the rule
Learn how to configure a feature rule in the Admin console by following a series of steps, including adding JavaScript to a site and creating a basic rule to test integration.
When you have added the JavaScript to a site, as shown in the example page, you can configure a feature rule.
To configure a feature rule in the Admin console, complete the following steps:
- Select Products > Features from the main menu.
- Select the Add a Feature button . The Add a Feature screen displays.
- Enter the following details:
- Enter a name for the feature in the Title text box.
- Optionally, add a description of the feature, using no more than 100 characters, in the Description text box.
- Select the HTML radio button from the Types of Integration option.
- Select the Continue button to create the feature.
- Complete the Developer Interface section to configure the type of integration as follows:
- Create a basic rule to test the integration as follows:
Your new outcome is added to the palette, with the title you entered.
- By default, the Anonymous user journey is selected, select Outcomes from the decision bar.
- Select Add Outcome from the listed decision points. The Add an Outcome screen displays.
- Enter a name for your Outcome in the Title text box.
- Optionally, add a description of the outcome in the Description text box.
- Select the Add a New Form Or Custom Component Block button.
- Select the Add Custom Component Block button. The Custom Content Block dialog box displays.
- Enter a name for the custom content block in the Title text box.
- Enter a message in the large text box.
- Select the Save button. The Add an Outcome screen displays.
- Select the Save button to save your outcome.
- Drag your outcome to the rules canvas.
- Connect your outcome to the Page View node.
- Scroll to the bottom of the screen and select the up arrow next to the Save button.
- Select Save and Publish .