Add an Audience Segmentation rule
For Audience Segmentation, you set up rules for different categories, or classes, of end users. Within each rule you define the likelihood that the defined user class will be sent to origin.
You can add up to 5,000 rules to a Cloudlets policy, but there is a maximum processing cost per policy to prevent performance issues. If your rules aren't working as expected before the 5,000 limit, you may have hit a cost limit. Review solutions on the Cost limit page.
How to
-
Go to ☰ > CDN > Edge logic Cloudlets.
-
On the Cloudlet Policies screen, click the name of the policy you want to add rules to.
-
On the Policy Details screen, click the version you want to update or click Create New Version.
-
On the Version Details screen, click Add Rule.
-
Complete these fields on the Create a Rule screen:
You configure the location of the alternate response in the Audience Segmentation behavior in Property Manager.
Field | Action |
---|---|
General | |
Rule Name | Name this rule. |
Always On | Select if the rule is always applied. |
Start Date/Time | Enter the start date and time for the rule. |
End Date/Time | Enter the end date and time for the rule. |
Match definition (IF section) | |
Match Type | Select the match type to use for this rule. Enter any operators or match criteria needed for the match type you choose. Range is the default match type. The range match lets you define a population set. Audience Segmentation creates populations by assigning a cookie value to each user. If a user's cookie value falls within the range selected, that user is part of the population set. See Review available match types for Audience Segmentation for more information. |
Action (THEN section) | |
Cloudlets Origin ID | Select the Conditional Origin to use when the incoming request meets the match criteria. You can either let the property decide which origin to use or choose a Conditional Origin that's already been configured and saved for the associated property. Only Conditional Origins defined within activated properties display. If a network displays in red, the property determines the origin because one or more properties on the network does not have the selected origin defined. If no origin list is available for this field, there is no property associated with this Cloudlets policy. You can associate a Cloudlets policy with a property in the Cloudlets Policy Manager during policy activation. |
Path and Query String | Enter the path and/or query string of the origin object to serve for the request. Type a forward slash (/) first. |
Copy Query String | Select to include all query parameters in the rewritten URL. |
-
If you want to add another rule, click + in the match section.
-
Click Save Rule. The new rule displays first on the Version Details screen
Cloudlets Policy Manager evaluates rules from top to bottom with the first match winning.
Updated 4 days ago