Sharing

Detailed description of the e-commerce lifecycle events related to the customer's product sharing activities.

The product sharing activities allow customers to share interesting products to their friends or colleagues, or on various social media platforms.

Product Shared

This event is triggered whenever a customer shares a product. The following properties are supported by this event:

Property NameTypeDescription of the Property
share_viaStringContains information on the method of sharing the product
share_messageStringContains the message sent by the customer
recipientStringContains information on the recipient with whom the product is shared
product_idStringContains the Database ID of the product being shared
skuStringContains the SKU of the product
categoryStringContains the category of the product
nameStringContains the name of the product
brandStringContains the brand associated with the product
variantStringContains the variant associated with the product
priceNumberContains the price of the product (in USD)
urlStringContains the URL of the product's page
image_urlStringContains the image URL of the product

An example of the Product Shared event is as shown:

rudderanalytics.track("Product Shared", {
share_via: "SMS",
share_message: "Check this",
recipient: "name@friendsemail.com",
product_id: "12345872254426",
sku: "F-13",
category: "Games",
name: "Cards",
brand: "Maples",
variant: "150s",
price: 15.99,
url: "https://www.myecommercewebsite.com/product/prod",
image_url: "https://www.myecommercewebsite.com/product/prod.jpg",
})

Cart Shared

This event is triggered whenever a customer shares a shopping cart. The following properties are supported by this event:

Property NameTypeDescription of the Property
share_viaStringContains information on the method of sharing the cart
share_messageStringContains the message sent by the customer
recipientStringContains information of the recipient
cart_idStringContains the ID of the shopping cart that is being shared
productsArrayContains the list of products shared with the recipient
products.$.product_idStringContains the product ID displayed on the list

An example of the Cart Shared event is as shown below:

rudderanalytics.track("Cart Shared", {
share_via: "SMS",
share_message: "Check this",
recipient: "friend@friendsemail.com",
cart_id: "1234df2ddss",
products: [{ product_id: "125" }, { product_id: "297" }],
})

Contact us

For more information on the topics covered on this page, email us or start a conversation in our Slack community.

On this page

This site uses cookies to improve your experience. If you want to learn more about cookies and why we use them, visit our cookie policy.  We'll assume you're ok with this, but you can opt-out if you wish