1. Set up Commerce Connect

Commerce integration with Experience Analytics

Version:

This topic describes the items installed in Sitecore with the Commerce Connect package.

Important

The Storefront Abandoned Cart marketing automation campaign is available from Commerce Connect 9.0.2. The New Order Placed marketing automation campaign is available from Commerce Connect 9.2. To use them, you must have installed the Connect Marketing Automation package. For more information, see the Installation Guide.

Finding Commerce Connect items in the Content Editor

Commerce Connect items are installed in the following folders in the Content Editor:

Item typeItem path
Page events/sitecore/System/Settings/Analytics/Page Events/CommerceConnect
Goals/sitecore/System/Marketing Control Panel/Goals/CommerceConnect
Outcomes/sitecore/System/Marketing Control Panel/Outcomes
Conditional renderings/sitecore/System/Settings/Rules/Definitions/Elements/CommerceConnect Conditional Renderings
Experience Analytics Dimensions/sitecore/System/Marketing Control Panel/Experience Analytics/Dimensions/Connect
Marketing automation plan folder/sitecore/System/Marketing Control Panel/Automation Plans
Marketing automation actions/sitecore/System/Settings/Analytics/Marketing Automation
Marketing automation conditions/sitecore/System/Settings/Rules/Definitions/Elements/Commerce - Cart

/sitecore/System/Settings/Rules/Definitions/Elements/Commerce - Email
Marketing automation templates/sitecore/System/Marketing Control Panel/Marketing Automation Templates
Personalization rules/sitecore/System/Settings/Rules/Definitions/Elements/CommerceConnect Conditional Renderings
Segmentation predicates/sitecore/System/Settings/Rules/Definitions/Elements/Commerce - Contact
Templates/sitecore/Templates/CommerceConnect

/sitecore/Templates/Branches/CommerceConnect

Page events, goals, and outcomes

To access page events, goals, and outcomes included with Commerce Connect, you need to use the API provided with Commerce Connect. For more information, see the Commerce Connect Developer's Guide.

The table below details the Commerce Connect page events, goals and outcomes.

Note

When Sitecore saves events, goals and outcomes, Sitecore stores the related personal data in contact facets and assigns the facets a PIISensitive attribute (Personally Identifiable Information) so that the facets can be deleted if the customer exercises their right to be forgotten. For more information, see the Privacy Guide.

Service layer the item belongs toItem TypeTypeItem NameData Stored with the Item
CartPage event-Cart CreatedExternalId (Cart ID), UserId, CartName, CartStatus, ShopName
CartPage event-Cart DeletedExternalId (Cart ID), UserId, CartName, CartStatus, ShopName
CartPage event-Cart LockedExternalId (Cart ID), UserId, CartName, CartStatus, ShopName
CartPage event-Cart ResumedExternalId (Cart ID), UserId, CartName, CartStatus, ShopName, PreviousStateName
CartPage event-Cart UnlockedExternalId (Cart ID), UserId, CartName, CartStatus, ShopName
CartPage event-Cart UpdatedCustomerId, CartName, ShopName
CartPage eventAJAXLines Added To CartListOfCartLines (ProductId, Quantity, Price), ShopName
CartPage eventAJAXLines Removed From CartListOfCartLines (ProductId, Quantity, Price), ShopName
CartPage eventAJAXLines Updated On CartListOfCartLines (ProductId, Quantity, Price), ShopName
CartPage eventMA Campaign - out of processAbandonedShopName, ExternalId (Cart ID), Cart and Cart Total
CatalogPage eventPageVisited Category PageCategoryId, Category Name
CatalogPage eventAJAXFacet AppliedFacet name, Applied (boolean)
CatalogPage eventAJAXProduct SortingSort key, Sort direction (ASC/DSC)
CatalogPage eventPageVisited Product Details PageProduct ID, ProductName, ParentCategoryId, ParentCategoryName, ShopName, Amount, CurrencyCode
Customers and UsersPage event-Customer Account DeletedCustomerName, ShopName
Customers and UsersPage event-Customer Account DisabledCustomerName, ShopName
Customers and UsersPage event-Customer Account EnabledCustomerName, ShopName
Customers and UsersPage eventAJAXCustomer Account UpdatedCustomerName, ShopName
Customers and UsersPage event-User Account DeletedUserName, ShopName
Customers and UsersPage event-User Account DisabledUserName, ShopName
Customers and UsersPage event-User Account EnabledUserName, ShopName
Customers and UsersPage eventAJAXUser Account UpdatedUserName, ShopName
Customers and UsersGoalAJAXCustomer Account CreatedCustomerName, ShopName
Customers and UsersGoalAJAXUser Account CreatedUserName, ShopName
GlobalizationPage eventAJAXCulture chosenShopName, Culture ID
InventoryPage eventPageAdd To Cart Stock StatusExternalId (Cart ID), UserId, ShopName, ListOfCartLines(ProductId, StockStatus, InStockDate, ShippingDate)
InventoryPage event-Back In Stock SubscriptionProduct, Email, Location, InterestDate, ShopName
InventoryPage event-Back In Stock UnsubscriptionProduct, Location, ShopName, VisitorId
InventoryPage event-Products Are Back In StockShopName, ListOfProducts
InventoryPage eventPageVisited Product Stock StatusShopName, Product, Location, StockStatus, AvailabilityDate, StockCount
LoyaltyProgramGoal-Loyalty Program JoinedExternalId, CustomerId, ShopName, CardNumber
OrdersPage eventPageGift Card PurchaseOrderId, ExternalId (Gift Card ID), Total (the order total), FiftCartAmount (the amount used on the gift card) and Balance (the remaining amount on the gift card)
OrdersPage event-Loyalty card PurchaseOrderIdD, Total (the order total, Loyalty CardID,and LoytaltyCart Amount (the total amount that the loyalty points equals)
OrdersPage event-Order Status ChangedOrderId, OrderStatus (string)
OrdersPage eventAJAX (bundled)Ordered Product Stock StatusProductId, ProductName, StockStatus, InStockDate, ShippingDate, PreOrderable (boolean)
OrdersPage eventPageVisitor Cancel OrderCustomerId, ShopName, OrderId, TotalAmount
OrdersPage eventPageVisitor Viewed Order DetailsCustomerId, ShopName, OrderId, TotalAmount
OrdersPage eventAJAXVisitor Viewed Order HistoryCustomerId, ShopName
OrdersPage event-Offline Orders SynchronizedUserId, ShopName, LastOrderSynchronizedDate, ExternalSystem, NumberOfOrdersSynchronized, SynchronizedOrderIDsList
OrdersGoalAJAX (bundled)Visitor Order CreatedExternalId (Order ID), ShopName, Total (Amount, TaxTotal), Order
OrdersOutcomeAJAX (bundled)Product Purchase (Visitor Order Created)ShopName, Order ID (External ID), a cut down order (order header + order lines with product ids and names, line total, subtotal and total)
PricingPage event-Currency chosenShopName, CurrencyCode
WishListsPage event-Lines Added To WishListExternalId, UserId, WishListName, ShopName, ListOfWishListLines(ProductId, Quantity, Price)
WishListsPage event-Lines Removed From WishListExternalId, UserId, WishListName, ShopName, ListOfWishListLines(ProductId, Quantity, Price)
WishListsPage event-Lines Updated On WishListExternalId, UserId, WishListName, ShopName, ListOfWishListLines(ProductId, Quantity, Price)
WishListsPage event-WishList CreatedExternalId, UserId, WishListName, ShopName
WishListsPage event-WishList DeletedExternalId, UserId, WishListName, ShopName
WishListsPage event-WishList EmailedListOfWishListsEmailed (ExternalId, UserId, WishListName, ShopName)
WishListsPage event-WishList PrintedExternalId, UserId, WishListName, ShopName

Personalization rules

The following table shows details of the personalization rule conditions that come with Commerce Connect.

Service layerItem nameDescriptionRule parameters
CartTotal Product Quantity ConditionTests the current quantity of items in the cart against a specified value.TotalProductQuantity, compares-to operator
CartCart Total ConditionTests the current cart total against a specified amount.CartTotal, compares-to operator
CartSpecific Product Quantity ConditionTests the current cart content for the quantity of a specified product against a specified value.ProductId, ProductQuantity, compares-to operator
InventoryCurrent Product Stock CountTests the stock count of a product given by the Commerce Context implementation against a specified value. Requires Commerce Context. The default implementation alone throws Not Implemented exceptions.StockCount, ShopLocation, compares-to operator
InventoryCurrent Product Stock StatusTests the stock status of a product provided by Commerce Context against a specified status. Requires Commerce Context. The default implementation alone throws Not Implemented exceptions.StockStatus, compares-to operator
InventorySpecific Product Stock CountTests the stock count of a specified product against a specified value.ProductId, StockCount, compares-to operator

Marketing automation campaigns

Commerce Connect contains default marketing automation campaigns including the Storefront Abandoned Cart marketing automation campaign and the New Order Placed marketing automation campaign. The following table describes items installed for Commerce marketing automation campaign.

Service layer the item belongs toItem typeItem nameDescription
CartNew Order Placed campaign templateNew Order PlacedSends an order confirmation email message to contacts who have completed a purchase and follows up with an email message recommending products two weeks later.
CartMarketing Automation campaign templateAbandoned CartFollows up on contacts who visit the storefront and leave a shopping cart with products in it. If a contact has a known email address, Sitecore sends a notification email to encourage the contact to finalize the purchase. The marketing automation campaign stores the cart ID in custom values.
CartMarketing Automation campaign conditionWhere Cart Has Been ManipulatedChecks if any actions have been performed on the cart since the contact was enrolled into the campaign or since last checked.
CartMarketing Automation campaign conditionWhere Contact Has EmailChecks if an email exists for the contact.
CartMarketing Automation campaign conditionWhere Contact Cart Is EmptyChecks whether the cart with the specified ID is empty.
CartMarketing Automation campaign conditionRaise Abandoned Cart eventTriggers the Abandoned Cart event.
CartMarketing Automation campaign conditionSend Commerce emailTriggers the Email Experience Manager (EXM) to send an automated email campaign transferring custom values from the marketing automation campaign to EXM.
If you have suggestions for improving this article, let us know!