Zephr User Guide

Preview an Outcome

52 views 0

You can preview an outcome in a feature rule so that you can see how it displays in your site.

To show a preview of an outcome, Zephr must crawl your site to find the feature tags or CSS selector used to define the feature.

To allow Zephr to crawl your site and show a preview of your outcome, complete the following steps:

  1. Either create a feature, or select an existing feature and navigate to the Developer Interface

    If creating a feature, this is the second screen. For further information on creating a feature, see the Creating and Managing Zephr Features topic.

    If editing an existing feature, select the lock icon (((((Lock Icon).

  2. Select the Check Sites For Feature button, as illustrated below:

    Previewing Outcomes - Check Sites for Feature

    If the feature has been integrated, the screen updates as illustrated below:

    Feature Integrated Successfully

    The example feature URL shows where the feature was found.

    Note: The example feature URL uses the origin site URL. The origin site URL is the URL to which your domains, or vanity URLs, would point if you were not using the Zephr CDN; or, if not using the Zephr CDN, your live site.

    Select the Check Again button if you want Zephr to crawl the site for the feature again.

  3. Select the Update & Lock button
  4. If required, add an outcome to the feature rule, as described in the Add an Outcome topic
  5. Right-click the outcome

    The context menu displays, as illustrated below:

    Previewing Outcomes - Preview Button

  6. Select Preview

    A screen similar to the following displays with the rules canvas on the left and the preview of your site on the right:

    Previewing Outcomes - View Preview