HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Product

This topic describes how to manage products in Optimizely Data Platform (ODP).

🚧

Important

product_id is required on all events with an event type of product.

Details Viewed

zaius.event("product", { action: "detail", product_id: "product-2143" });

Add to Cart

zaius.event("product", { action: "add_to_cart", product_id: "product-2143" });

Remove from Cart

zaius.event("product", { action: "remove_from_cart", product_id: "product-2143" });

Next
Did this page help you?