Zephr User Guide

Create an Advanced Trial

6 views 0

To create an advanced trial that uses a consumption tracker, which is used in two user types and two types of feature implementation, we must do the following:

  • Create a trial for our Anonymous user types in our HTML feature for use in your website
  • Create a trial for our Registered user types in our HTML feature for use in your website
  • Create a trial for our Anonymous user types in our SDK feature for use in your app
  • Create a trial for our Registered user types in our SDK rule for use in your app

The steps for creating the trial for each user type in each rule implementation are the same. Repeat the steps for your user types in each type of rule implementation.

Once this is done, the consumption tracker is used each time the user consumes the feature, whether they are accessing the feature as an Anonymous or Registered user type, or using your website or app.

To create your Advanced trial for the Anonymous user type, complete the following steps:

  1. Select Products from the main menu
  2. Select Features from the menu options
  3. Select the feature for which you want to create a trial, or add a feature as described in the Creating and Managing Zephr Features topic
  4. If you selected an existing feature, select the version for which you want to create a trial

    The Rules Builder for the Anonymous user type displays.

  5. In the Rules Builder, select the Access segment title
  6. Drag the Trials node to your canvas

    The Trial dialog box displays.

  7. Select the Advanced button from the top right of the dialog box

    The Advanced options display, as illustrated below:

    Trial - Advanced Options

  8. Define the limit and the period for which it applies, as follows:
    1. Enter the number of views to allow in the Limit of field

      For Anonymous users, we have set a limit of ten views.

      For Registered users, we have set a limit of 15 views.

      This means that as an Anonymous user, your end user can use up to ten views before needing to register. When the end user registers, the number of views they had in the Anonymous trial is included in the number of rules counted in the Registered trial.

      For example if an anonymous end user views five articles and then registers, the count measured against the Registered user type limit starts at five. This means that the user has ten further views before they encounter the limit set for the Registered user type.

    2. Select the type of view to count against the defined number of views from the first drop-down. The options are as follows:
      • Unique Article

        This is the default. The number of views is counted by each different article viewed by the end user.

        We are using this setting in this example.

      • Page View(s)

        Select Page View(s) if you want to count all page views, including pages that have previously been viewed by the end user.

    3. Select the period for which the limit applies from the second drop-down. The options are as follows:
      • In a lifetime

        This is the default. The limit applies as follows:

        • For Anonymous user types, for the session
        • For Registered and Customer user types, for one year

        We are using this setting in this example.

      • In a calendar

        If you select this option, a further drop-down displays. Select the period from the drop-down. The options are as follows:

        • Week

          Select Week to measure the period from Monday to Sunday.

        • Month

          Select Month to measure the period from the 1st of the month.

        • Day

          Select Day to measure the period by the day.

      • In the last

        If you select this option, a further field displays. Enter the number of days against which to measure the period.

  9. Define the maximum number of views and the period for which it applies, as follows:
    1. Enter the maximum number of views allowed in the defined period in the With a maximum of field

      For the Anonymous user type, we have set a limit of three views.

      For the Registered user type, we have set a limit of five views.

    2. Select the period for which the limit applies from the second drop-down. The options are as follows:
      • Day

        This is the default. Select Day to measure the period by the day.

        We have used this setting for both Anonymous and Registered user types.

      • Week

        Select Week to measure the period from Monday to Sunday.

      • Month

        Select Month to measure the period from the 1st of the month.

      • Lifetime

        The limit applies as follows:

        • For Anonymous user types, for the session
        • For Registered and Customer user types, for one year
  10. Set the Consumption Tracker, as follows:
    1. Select the Consumption Tracker drop-down
    2. For the Anonymous user type, select the Create a New Tracker radio button
    3. For the Anonymous user type, create the consumption tracker to use across your user types and rule implementations by entering a name for the tracker in the Tracker Name text box.

      For the Registered user type in this rule implementation and both user types in the other rule implementations, select the Use an Existing Tracker and select the tracker you created for the Anonymous user type above in any of the following ways:

      • Enter the name of the tracker in the text box. As you type, the matching options are listed under the text box. Select the tracker you require from the list
      • Select the Or browse all trackers link. All existing trackers are listed. Select the tracker you require from the list
  11. If you want to report the use of the trial in the data layer, for example to use in analytics applications, complete the following steps:
    1. Select the Data Layer drop-down
    2. Select the Report trial usage in Data Layer toggle
    3. To report used credits, enter the data layer key for the credits used in the Trial credits used data layer key text box
    4. To report remaining credits, enter the data layer key for the remaining credits in the Trial credits remaining data layer key text box
    5. To report maximum credits used, enter the data layer key for the maximum credits used in the Max credits used data layer key text box
    6. To report the maximum credits remaining, enter the maximum credits remaining in the Max credits remaining data layer key text box

    Note: The Data Layer options are not displayed if you are using an SDK implementation.

  12. Select the Registered user type from the user type selector, and repeat steps 6 to 11
  13. Select the Save button to save your trial and return to the Rules Builder with the Trials decision node added. Selecting the Cancel button displays the Rules Builder without adding the Trials decision node

Save and publish this rule, then repeat the steps above for the SDK rule implementation.

The completed Trials dialog box looks similar to the following in both rule implementations:

  • Anonymous:

    Trial - Advanced Options for Anonymous user type

  • Registered:

    Trial - Advanced Options for Registered user type

The completed rules look similar to the following:

  • Anonymous HTML feature rule:

    Trial - Anonymous HTML Rule

  • Registered HTML feature rule:

    Trial - Registered HTML Rule

  • Anonymous SDK feature rule:

    Trial - Anonymous SDK Rule

  • Registered SDK feature rule:

    Trial - Anonymous SDK Rule