Zephr User Guide

Build the Rule

10 views 0

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:

  1. Select Products from the main menu
  2. Select Features from the menu options

    The Features screen displays.

  3. Select the Add a Feature button

    The Add a Feature screen displays.

  4. Complete the Add a Feature screen as follows:
    1. Enter a name for the Feature in the Title text box
    2. Optionally, add a description of the feature, using no more than 100 characters, in the Description text box
    3. Select the HTML radio button from the Types of Integration options
    4. Select the Continue button to create the Feature

    The Developer Interface screen displays.

  5. Complete the Developer Interface section to configure the type of integration as follows:
    1. Select the Run In Browser radio button from the Where to Run options
    2. Enter a CSS Selector for the feature in the CSS Selector text box, as illustrated below:

      Developer Console - Run In Browser

    3. Select the Update & Lock button. Selecting the Cancel button closes and locks the Developer Interface without making changes

      Note: If you return to an existing feature, the Developer Interface section is locked by default and located at the bottom of the page. You can unlock and open the Developer Interface section by clicking inside the border.

      The rules canvas section displays.

  6. Create a basic rule to test the integration as follows:
    1. By default, the Anonymous user journey is selected, select Outcomes from the decision bar
    2. Select Add Outcome from the listed decision points

      The Add an Outcome screen displays.

    3. Enter a name for your Outcome in the Title text box
    4. Optionally, add a description of the outcome in the Description text box
    5. Select the Add a New Form Or Custom Component Block button
    6. Select the Add Custom Component Block button

      The Custom Content Block dialog box displays.

    7. Enter a name for the custom content block in the Title text box
    8. Enter a message in the large text box, as illustrated below:

      Custom Component Block Example

    9. Select the Save button

      The Add an Outcome screen displays.

    10. Select the Save button to save your Outcome

    Your new outcome is added to the palette, with the title you entered.

  7. Drag your outcome to the rules canvas
  8. Connect your outcome to the Page View node
  9. Scroll to the bottom of the screen and select the up arrow next to the Save button
  10. Select Save and Publish