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:
Property | Description | Type |
---|---|---|
dyType | Must be "enter-promo-code-v1" | String |
code | The promo code | String |
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.
Updated 8 months ago