Configure Redemption Tracking

In order for Coupon Manager to be able to track and report on coupon redemptions, you need to configure the redemption settings and add the redemption JavaScript snippet to your site.

About this task

Enable redemption tracking in Coupon Manager to collect the email, coupon, and order data when your contacts redeem a coupon.

When you enable redemption tracking, the following contact fields are added to your Bronto account:

  • Coupon Manager Total Revenue
  • Coupon Manager Total Discount
  • Coupon Manager Last Code
  • Coupon Manager Last Redemption Date
  • Coupon Manager Total Redeemed
  • Coupon Manager Most Used Tag
  • Coupon Manager Tags Redeemed
  • Coupon Manager Codes Redeemed
Note: The redemption tracker displays currency based on your site's currency settings.

Use each field the same way that you use any other contact fields in Bronto.

For example, you can use the Coupon Manager Last Redemption Date to create a segment of contacts who have not redeemed a coupon code in the last 90 days. Additionally, when a coupon is redeemed, the CouponManager_Redeemed API event is recorded.

Any workflows that start with the Received API Event trigger node using the CouponManager_Redeemed keyword can be triggered by this event.

If you want to target these workflows to specific coupon codes, you could also use the Contact Field Comparison filter node with the Coupon Manager Codes Redeemed contact field or the Coupon Manager Tags Redeemed contact field to target the workflow.

Procedure

  1. Go to Commerce > Coupon Manager.
  2. Click Redemption Settings.
  3. Select Yes from the Enabled list.

    When this is set to No the coupon codes generated by Coupon Manager cannot be redeemed on your site.

  4. Add the redemption JavaScript snippet to your site:
    1. Click Redemption JavaScript Snippet.
    2. Copy the script provided, including the opening and closing <script> tags, and paste it into a code editor.

      You will need to update the variables provided in the script before adding it to your site.

    3. Remove any variables you do not want Bronto to collect.

      Your variables are email, coupon, orderID, orderSubtotal, orderDiscount. Email and coupon are required variables but the rest are optional. Bronto cannot collect the data associated with any variable you delete.

    4. In your list of variables, replace <value-or-selector-definition> with the appropriate CSS selector used to identify this data on your site and, if relevant, an optional attribute.
    5. After you have updated the code snippet so that it is accurate for your site, copy the code and insert the snippet into your web page following a successful checkout.