EcommerceData
import type { EcommerceData } from "https://googleapis.deno.dev/v1/analyticsreporting:v4.ts";
E-commerce details associated with the user activity.
interface EcommerceData {
actionType?:
| "UNKNOWN"
| "CLICK"
| "DETAILS_VIEW"
| "ADD_TO_CART"
| "REMOVE_FROM_CART"
| "CHECKOUT"
| "PAYMENT"
| "REFUND"
| "CHECKOUT_OPTION";
ecommerceType?: "ECOMMERCE_TYPE_UNSPECIFIED" | "CLASSIC" | "ENHANCED";
products?: ProductData[];
transaction?: TransactionData;
}§Properties
§
actionType?: "UNKNOWN" | "CLICK" | "DETAILS_VIEW" | "ADD_TO_CART" | "REMOVE_FROM_CART" | "CHECKOUT" | "PAYMENT" | "REFUND" | "CHECKOUT_OPTION"
[src]Action associated with this e-commerce action.
§
ecommerceType?: "ECOMMERCE_TYPE_UNSPECIFIED" | "CLASSIC" | "ENHANCED"
[src]The type of this e-commerce activity.
§
products?: ProductData[]
[src]Details of the products in this transaction.
§
transaction?: TransactionData
[src]Transaction details of this e-commerce action.