Commerce integration with Experience Analytics

Version: 10.0

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 type

Item 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 to

Item Type

Type

Item Name

Data Stored with the Item

Cart

Page event

-

Cart Created

ExternalId (Cart ID), UserId, CartName, CartStatus, ShopName

Cart

Page event

-

Cart Deleted

ExternalId (Cart ID), UserId, CartName, CartStatus, ShopName

Cart

Page event

-

Cart Locked

ExternalId (Cart ID), UserId, CartName, CartStatus, ShopName

Cart

Page event

-

Cart Resumed

ExternalId (Cart ID), UserId, CartName, CartStatus, ShopName, PreviousStateName

Cart

Page event

-

Cart Unlocked

ExternalId (Cart ID), UserId, CartName, CartStatus, ShopName

Cart

Page event

-

Cart Updated

CustomerId, CartName, ShopName

Cart

Page event

AJAX

Lines Added To Cart

ListOfCartLines (ProductId, Quantity, Price), ShopName

Cart

Page event

AJAX

Lines Removed From Cart

ListOfCartLines (ProductId, Quantity, Price), ShopName

Cart

Page event

AJAX

Lines Updated On Cart

ListOfCartLines (ProductId, Quantity, Price), ShopName

Cart

Page event

MA Campaign - out of process

Abandoned

ShopName, ExternalId (Cart ID), Cart and Cart Total

Catalog

Page event

Page

Visited Category Page

CategoryId, Category Name

Catalog

Page event

AJAX

Facet Applied

Facet name, Applied (boolean)

Catalog

Page event

AJAX

Product Sorting

Sort key, Sort direction (ASC/DSC)

Catalog

Page event

Page

Visited Product Details Page

Product ID, ProductName, ParentCategoryId, ParentCategoryName, ShopName, Amount, CurrencyCode

Customers and Users

Page event

-

Customer Account Deleted

CustomerName, ShopName

Customers and Users

Page event

-

Customer Account Disabled

CustomerName, ShopName

Customers and Users

Page event

-

Customer Account Enabled

CustomerName, ShopName

Customers and Users

Page event

AJAX

Customer Account Updated

CustomerName, ShopName

Customers and Users

Page event

-

User Account Deleted

UserName, ShopName

Customers and Users

Page event

-

User Account Disabled

UserName, ShopName

Customers and Users

Page event

-

User Account Enabled

UserName, ShopName

Customers and Users

Page event

AJAX

User Account Updated

UserName, ShopName

Customers and Users

Goal

AJAX

Customer Account Created

CustomerName, ShopName

Customers and Users

Goal

AJAX

User Account Created

UserName, ShopName

Globalization

Page event

AJAX

Culture chosen

ShopName, Culture ID

Inventory

Page event

Page

Add To Cart Stock Status

ExternalId (Cart ID), UserId, ShopName, ListOfCartLines(ProductId, StockStatus, InStockDate, ShippingDate)

Inventory

Page event

-

Back In Stock Subscription

Product, Email, Location, InterestDate, ShopName

Inventory

Page event

-

Back In Stock Unsubscription

Product, Location, ShopName, VisitorId

Inventory

Page event

-

Products Are Back In Stock

ShopName, ListOfProducts

Inventory

Page event

Page

Visited Product Stock Status

ShopName, Product, Location, StockStatus, AvailabilityDate, StockCount

LoyaltyProgram

Goal

-

Loyalty Program Joined

ExternalId, CustomerId, ShopName, CardNumber

Orders

Page event

Page

Gift Card Purchase

OrderId, 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)

Orders

Page event

-

Loyalty card Purchase

OrderIdD, Total (the order total, Loyalty CardID,and LoytaltyCart Amount (the total amount that the loyalty points equals)

Orders

Page event

-

Order Status Changed

OrderId, OrderStatus (string)

Orders

Page event

AJAX (bundled)

Ordered Product Stock Status

ProductId, ProductName, StockStatus, InStockDate, ShippingDate, PreOrderable (boolean)

Orders

Page event

Page

Visitor Cancel Order

CustomerId, ShopName, OrderId, TotalAmount

Orders

Page event

Page

Visitor Viewed Order Details

CustomerId, ShopName, OrderId, TotalAmount

Orders

Page event

AJAX

Visitor Viewed Order History

CustomerId, ShopName

Orders

Page event

-

Offline Orders Synchronized

UserId, ShopName, LastOrderSynchronizedDate, ExternalSystem, NumberOfOrdersSynchronized, SynchronizedOrderIDsList

Orders

Goal

AJAX (bundled)

Visitor Order Created

ExternalId (Order ID), ShopName, Total (Amount, TaxTotal), Order

Orders

Outcome

AJAX (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)

Pricing

Page event

-

Currency chosen

ShopName, CurrencyCode

WishLists

Page event

-

Lines Added To WishList

ExternalId, UserId, WishListName, ShopName, ListOfWishListLines(ProductId, Quantity, Price)

WishLists

Page event

-

Lines Removed From WishList

ExternalId, UserId, WishListName, ShopName, ListOfWishListLines(ProductId, Quantity, Price)

WishLists

Page event

-

Lines Updated On WishList

ExternalId, UserId, WishListName, ShopName, ListOfWishListLines(ProductId, Quantity, Price)

WishLists

Page event

-

WishList Created

ExternalId, UserId, WishListName, ShopName

WishLists

Page event

-

WishList Deleted

ExternalId, UserId, WishListName, ShopName

WishLists

Page event

-

WishList Emailed

ListOfWishListsEmailed (ExternalId, UserId, WishListName, ShopName)

WishLists

Page event

-

WishList Printed

ExternalId, UserId, WishListName, ShopName

Personalization rules

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

Service layer

Item name

Description

Rule parameters

Cart

Total Product Quantity Condition

Tests the current quantity of items in the cart against a specified value.

TotalProductQuantity, compares-to operator

Cart

Cart Total Condition

Tests the current cart total against a specified amount.

CartTotal, compares-to operator

Cart

Specific Product Quantity Condition

Tests the current cart content for the quantity of a specified product against a specified value.

ProductId, ProductQuantity, compares-to operator

Inventory

Current Product Stock Count

Tests 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

Inventory

Current Product Stock Status

Tests 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

Inventory

Specific Product Stock Count

Tests 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 to

Item type

Item name

Description

Cart

New Order Placed campaign template

New Order Placed

Sends an order confirmation email message to contacts who have completed a purchase and follows up with an email message recommending products two weeks later.

Cart

Marketing Automation campaign template

Abandoned Cart

Follows 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.

Cart

Marketing Automation campaign condition

Where Cart Has Been Manipulated

Checks if any actions have been performed on the cart since the contact was enrolled into the campaign or since last checked.

Cart

Marketing Automation campaign condition

Where Contact Has Email

Checks if an email exists for the contact.

Cart

Marketing Automation campaign condition

Where Contact Cart Is Empty

Checks whether the cart with the specified ID is empty.

Cart

Marketing Automation campaign condition

Raise Abandoned Cart event

Triggers the Abandoned Cart event.

Cart

Marketing Automation campaign condition

Send Commerce email

Triggers the Email Experience Manager (EXM) to send an automated email campaign transferring custom values from the marketing automation campaign to EXM.

Do you have some feedback for us?

If you have suggestions for improving this article,