Targeting by custom parameter
Custom parameters can be assessed by rules to target buttons and invitations. This process assumes you have set up a custom parameter.
Defining an object for the custom parameter
Before you start, confirm the object your custom parameter should capture is available when the relevant page loads. For example, this simple script declares the isVIP variable on a webpage:
<script>
isVIP = true;
</script>Defining a rule to evaluate the object
To define a rule, select Rule Engine from the Automation section. Create a rule that detects the custom parameter, for example if isVIP is true. See Rule Engine for details on creating rules.
For this rule to be available, the following conditions must be met:
The rule must contain one or more custom parameters only.
The rule must not contain any feedback fields of any survey.
The rule and all custom parameters must be connected to the survey used with it; or select the All Forms option.
Use the rule to target a survey
To enable targeting by rule, click the Configure Targeting Options icon for the button or invitation in either card or list view. On the Targeting tab, select the Target by Rule check box and select an available rule for targeting from the dropdown.
