Advanced
The decision nodes that are available under the Advanced segment title are as follows:
- Referrer
- JWT Token
- JWT Expired
- User Agent
- Browser
- Run Custom Script
- Legacy Trials
Referrer
This decision point can only be used for HTML CDN, HTML In-browser and JSON implementations.
Use this decision point to define a decision based on the referrer used by the end user.
Enter an identifier for the referrer in the Header text box.
Select the condition to apply from the Condition drop-down menu.
Enter the value to test against the condition in the Value text box.
JWT Token
Only used when using a third-party identity management provider and HTML CDN, HTML In-browser or JSON implementations.
Use this decision point to define a decision based on specific JWTs used by a separate Identity Management provider.
Enter the name of the JWT property in the Property Name text box.
Select the condition to apply from the Condition drop-down menu. If you select Relative Date as the condition, note that this operator only accepts referenced date fields formatted without any time zone information, for example, “2024-10-29T10:15:30”.
Enter the value to test against the condition in the Value text box.
For further information on using JWTs to integrate with a different data source, see the JSON Web Tokens (JWT) topic.
JWT Expired
Accessibility Note: This node is disabled by default. Contact the Zephr Support team to enable it.
This decision node can only be used in rules for anonymous users.
Only used when using a third-party identity management provider and HTML CDN, HTML In-browser or JSON implementations.
Use this decision point to define a decision based on whether the end user's JWT is expired. For example, you can set up a path to redirect the end user whose JWT has expired to where it can be renewed.
User Agent
Use this decision point to define a decision based on the user agent used by the end user; for example, the browser, compatibility, operating system or plug-ins that can be used to optimise the performance and display of your page.
Enter an identifier for the user agent in the Header Name text box.
Select the condition to apply from the Condition drop-down menu.
Enter the value to test against the condition in the Value text box.
Browser
Use this decision point to define a decision based on the browser used by the end user.
Select the browser on which to base the decision from the drop-down menu.
Run Custom Script
Use this decision point to define a decision based on a custom script.
Enter the custom script on which to base the decision in the text box.
Legacy Trials
Trials allow the end user to access the feature for a defined period.
You can define fixed or rolling trials. By default, the options for fixed trials display.
Note: If you redefine your Legacy Trials decision node, the counters are restarted.
For further information on creating trials, see the Create a Trial topic.
Note: If you want to use trials across end user types, and/or across rule types, use the Trials node under the Access segment title. For further information on the Trials node, see the Access topic.
Define a Fixed Legacy Trial
Fixed trials grant access for a specific period.
Select the radio button for the fixed period you want to grant the trial from the Recurring Frequency radio buttons.
If you select the Custom radio button, enter the length of time for which to run the trial in the Period text box and select the unit in which to measure the period from the Unit drop-down menu.
Enter the number of views to allow in the Number of Views text box.
Select whether the number of views is measured in unique content or page views from the Trial Type radio buttons.
If you want to count pages with different query parameters as different views, select the Count pages with different query parameters separately checkbox.
If you want to use a different output for each remaining view, select the Add a Remaining View button and enter the count for which the node output applies in the Remaining Count text box.
If you want to report the use of the trial in the Data Layer:
- Select the Report trial usage in Data Layer toggle
- Define the information that you want to report by selecting the Report trial credits used and/or Report trial credits remaining toggles
- Enter the data layer key for the credits used in the Trial credits used data layer key text box, and/or the credits remaining in the Trial credits remaining data layer key text box
Define a Rolling Legacy Trial
To define a rolling trial, select the Rolling tab in the top right of the Trials dialog box.
Enter the number of views to allow in the Number of Views text box.
Enter the period in days for which to count the views in the In the Last text box; or use the arrows to increment/decrement the number of days.
If required, enter the maximum number of views to allow in a period in the Up to a Maximum Number of Views text box, and select the period for which to count the views from the Per drop-down menu.
Select whether the number of views is measured in unique content or page views from the Trial Type radio buttons.
If you want to count pages with different query parameters as different views, select the Count pages with different query parameters separately checkbox.
If you want to use a different output for each remaining view, select the Add a Remaining View button and enter the count for which the node output applies in the Remaining Count text box.
If you want to report the use of the trial in the Data Layer:
- Select the Report trial usage in Data Layer toggle
- Define the information that you want to report by selecting the Report trial credits used and/or Report trial credits remaining toggles
- Enter the data layer key for the credits used in the Trial credits used data layer key text box, and/or the credits remaining in the Trial credits remaining data layer key text box
If you want to report the maximum views in the data layer:
- Select the Report max views usage in Data Layer toggle
- Define the information that you want to report by selecting the Report max views credits used and/or the Report max views credits remaining toggles