Country
attribute. The rule is then made live via an Offering.
Part 1: Creating a Country-Specific Discount Rule
Let’s create a rule to offer a 25% launch discount for customers in India.1. Navigate to Targeting Rules
- From the side navigation menu, go to Monetization > Targeting rules.
2. Create a New Rule
- Click the + Create rule button.
3. Define Rule Information
- Rule name: Enter a descriptive name, e.g.,
India - Launch Discount 25%
. - Select product: Choose the product this discount will apply to.
4. Set Conditions
Here, you specify the country to target.- Under “If the customer matches…”, click the first dropdown (or “Select condition”).
- From the list of attributes, choose Country.
- Select the operator is any of.
- In the “Select” values field, type and select India.
5. Define the Pricing Adjustment (Action)
Specify the discount.- From the action dropdown, select Decrease price by.
- Enter
25
in the percentage field.
6. Save the Rule
- Click the Create rule button.
Part 2: Activating Your Country-Specific Rule via an Offering
A Targeting Rule is inactive until it’s connected to an Offering. An Offering makes your product (with its associated rules) available to your users.- Navigate to Offerings:
- Go to Monetization > Offerings.
- Create or Edit an Offering:
- Click + Create offering. If you have an existing Offering you wish to use, you can edit it instead.
- Link the Targeting Rule:
- In the “Create offering” (or “Edit offering”) modal, choose the option that allows you to use a Targeting rule.
- From the rule selection dropdown, choose the
India - Launch Discount 25%
rule you just created.
- Configure Other Offering Details:
- You might need to select a pricing table if this offering is presented through one, or configure other offering-specific settings.
- Save/Create the Offering:
- Click Create (or “Update”). You will get an Offering ID.
- Integrate: Use this Offering ID in your application’s code. When your application requests this Offering, ParityDeals will evaluate the associated
India - Launch Discount 25%
rule for the current user and apply the discount if the conditions are met.