Promo Code Entered

Reports that the user entered a valid promotion code .

❗️

This event is currently available for script implementation only

Parameters

  • name: Human-readable name, not used to identify an event type
  • properties: A container for the event properties as specified in the following table:
PropertyDescriptionType
dyTypeMust be "enter-promo-code-v1"String
codeThe promo codeString

Example: Implementation via script

DY.API("event", {
  name: "Promo Code Entered",
  properties: {
    dyType: "enter-promo-code-v1",
    code: "..."
  }
});

👍

Go to the API reference for the Events endpoint to learn more.