๐Ÿ“˜

Note

All events include Session Properties, Device Properties, App Properties, and Shopify Properties that are present on the Event Object. For more information, refer to the Common Event Object & Metadata document.

Event Properties, however, are unique to every event and are outlined in this page.

The Discount Failed event fires when a user attempts to apply a discount to their cart but it fails to successfully apply.

The event properties unique to this event include:

  "event_properties": {
    "event_id": "15abe235-4774-48bd-9670-0b4432fc1a9b",
    "discount_code": "Discount15",
    "discount_code_list": [],
    "cart_error_code": null,
    "checkout_error_code": "DISCOUNT_NOT_FOUND",
    "cart_total": "40.99",
    "total_discount_value_applied": "0.0",
    "multi_currency_code": "GBP",
    "cart_total_items": "1",
    "cart_total_items_list": ["Jeans"],
    "cart_total_product_id_list": ["588133379744"],
    "cart_id": null,
    "checkout_id": "f098b9ac13av3701b761b4099fc3d8d",
    "discount_type": "manual"
  }

event_id String : The unique identifier of the session associated with the event. This event will also exist on the Event object level as well


discount_code String : The discount code a user attempted to input within their cart but failed to apply


discount_code_list List : The total list of discount code(s) a user inputs within their cart that were successfully applied


cart_error_code String : The cart error code returned when the discount application was attempted


checkout_error_code String : The checkout error code returned when the discount application was attempted


cart_total Float : The value of the cart after any discounts or gift cards are applied


total_discount_value_applied Float : The total value of all of the discounts that were successfully applied to the cart


cart_id String : The unique ID of the cart


checkout_id String : The Shopify Checkout ID of the checkout event


discount_type String : The type of discount that failed to be applied to the cart (this can be โ€œmanualโ€ or โ€automaticโ€)

Note: To view more information on the discount types, reference the Event Sources page


multi_currency_code String : The current currency the user has selected in the app


cart_total_items Integer : The total count of current items in the cart after the discount is applied


cart_total_items_list List : A list of all of the product titles in the cart after the discount is applied


cart_total_product_id_list List : A list of all of the product IDs in the cart after the discount is applied