Coupon Data on Mobile App
  • 25 Jan 2024
  • 1 Minute to read

    Coupon Data on Mobile App


      Article Summary

      Sharing coupon data helps you keep track of which coupon is provided, which user receives this coupon, and which campaign offers this coupon. Accordingly, you can take any necessary actions on your end.

      Insider shares the coupon data of a campaign via a webhook that you provide. This campaign should be a campaign where you upload coupon codes.

      This process requires two steps:

      Webhook Integration for Coupons

      1. Go to Settings > Mobile App Settings > General.
      2. Check the Enable Webhook Integration for Coupons box.
      3. Add your callback URL.4. Click the Save Changes button to complete this step.

      Webhook Callback on Campaign Options

      1. Go to the Edit Campaign Options step of the campaign creation flow.
      2. Check the Send Coupon Data via Webhook box to trigger the callback URL to receive information of the users along with the coupon code they received, their variation ID, and campaign ID. 

      Your title goes here
      This option is available in every campaign where you upload coupon codes. 
      Your title goes here
      This operation is saved only for the respective campaign. It does not affect any other campaign. You can enable it on the campaign options for more than one campaign as well.

      Sample Response

      Below is a sample response that you can receive on the callback URL you added in the settings.

      {
       "inapp_id": 63,
       "variat_id": 148,
       "coupon_code": "coupon",
       "udid": "25cf2aa1cf567475",
       "identifier_value": sample@mail.com",
       "identifier_key": "em"
      }
      Your title goes here
      The coupon data is sent to the callback URL in real-time. Whenever a user receives a coupon code from the campaign —where you add coupon codes and enable the webhook integration—, the system will send the coupon data to the respective callback URL.

      Was this article helpful?


      ESC

      Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses