ButtonProductCompatible Protocol Reference
ButtonProductCompatible
A protocol that defines the product properties that may be provided when reporting user activity.
idThe product identifier.
Declaration
upcThe UPC (Universal Product Code) of the product.
Declaration
categoriesA flat array of the names of the categories to which the product belongs.
Declaration
nameThe name of the product.
Declaration
currencyThe ISO-4217 currency code in which the product’s value is reported.
Declaration
valueThe value of the order. Includes any discounts, if applicable. Example: 1234 for $12.34.
Declaration
quantityThe quantity of the product.
Declaration
urlThe URL of the product.
Declaration
attributesAny additional attributes to be included with the product.