Share Review
hare
Trigger this event when a customer shares a product with others, such as via social media, email, or messaging apps.
| Trait | Type | Description |
|---|---|---|
| method | String | Method of sharing |
| content_type | String | The type of shared content. |
| share_message | String | Message that the sender sent |
| recipient | String | Recipient |
| item_id | String | The ID of the shared content. |
| item | Item | item which was shared |
Example:
ppopAPI.sendTraits('share', { method: 'email', content_type:'product', share_message: 'Hey, check out this item', recipient: 'friend@example.com', item_id:'1254' item_name: "Grey Women's Tee", item_brand: "Summer", item_category: "Apparel" });
cartShared
customer shares a shopping cart.
| Trait | Type | Description |
|---|---|---|
| share_via | String | Method of sharing |
| share_message | String | Message that the sender sent |
| recipient | String | Recipient |
| cart_id | String | Shopping cart Id |
| products | Array | Products in cart |
Example:
ppopAPI.sendTraits('cartShared', { share_via: 'email', share_message: 'Hey, check out this item', recipient: 'friend@example.com', cart_id: 'd92jd29jd92jd29j92d92jd', products: [ { product_id: '507f1f77bcf86cd799439011' }, { product_id: '505bd76785ebb509fc183733' } ] });
productReviewed
customer reviews product
| Trait | Type | Description |
|---|---|---|
| product_id | String | Product's ID |
| review_id | String | Review ID |
| review_body | String | Shopping cart Id |
| rating | String | Products in cart |
Continue Learning: Explore how Powerpop tracks and manages cart activity in
the next guide — Shopping Cart Events.