Commerce

The following behaviors and behavior attributes for the Commerce category are available to help you get started.

There are 5 standard behaviors in this category:

  • Add product to cart
  • Purchase product
  • View order status
  • View product
  • View products in shopping cart

Add product to cart

A visitor, user, or other entity adds a product to the shopping cart.

Category Behavior type API name
Commerce User-triggered addProductToCart
Detection expression
data.wt.tx_e=a

The following attributes are delivered with this behavior. Expressions and foreign keys are shown as defined in the source workbook.

Behavior attributes

Display name API name Type Expression Foreign key
Browser Name BrowserName String ext.browser.name Not specified
Browser Version BrowserVersion String ext.browser.version Not specified
Campaign ID CampaignID String data.wt.mc_id Not specified
City City String ext.geo.city Not specified
Content Group ContentGroup String data.wt.cg_n Not specified
Content Subgroup ContentSubgroup String data.wt.cg_s Not specified
Country Country String ext.geo.country Not specified
Device Name DeviceName String ext.device.mktn Not specified
Device Type DeviceType String ext.device.type Not specified
Domain Domain String data.domain Not specified
Event Date EventDate Timestamp datetime_utc Not specified
Event Source ID EventSourceId String fmk.Event.SourceID Not specified
Operating System Name OperatingSystemName String ext.os.name Not specified
Operating System Version OperatingSystemVersion String ext.device.osver Not specified
Page Title PageTitle String data.wt.ti Not specified
Page URI PageURI String data.page-uri Not specified
Page URL PageURL String data.wt.es Not specified
Product ID ProductID String fmk.Product.ID Product.ID
Product Name ProductName String cdp.Product.Name Not specified
Product SKU ProductSKU String data.wt.pn_sku Not specified
Referrer Referrer String data.referrer Not specified
Referring Domain ReferringDomain String data.referrer-domain Not specified
Referring URI ReferringURI String data.referrer-path Not specified
Region Region String ext.geo.region Not specified
Shopping Cart ID ShoppingCartID String data.wt.tx_cartid Not specified
Transaction Subtotal TransactionSubtotal Numeric data.wt.tx_s Not specified
Unified ID UnifiedId String fmk.Customer.ID Not specified
Units Units Numeric data.wt.tx_u Not specified
Visitor ID VisitorID String session.visitor_id Not specified

Purchase product

A visitor, user, or other entity purchases a product.

Category Behavior type API name
Commerce User-triggered purchaseProduct
Detection expression
data.wt.tx_e=p

The following attributes are delivered with this behavior. Expressions and foreign keys are shown as defined in the source workbook.

Behavior attributes

Display name API name Type Expression Foreign key
Browser Name BrowserName String ext.browser.name Not specified
Browser Version BrowserVersion String ext.browser.version Not specified
Campaign ID CampaignID String data.wt.mc_id Not specified
City City String ext.geo.city Not specified
Content Group ContentGroup String data.wt.cg_n Not specified
Content Subgroup ContentSubgroup String data.wt.cg_s Not specified
Country Country String ext.geo.country Not specified
Device Name DeviceName String ext.device.mktn Not specified
Device Type DeviceType String ext.device.type Not specified
Domain Domain String data.domain Not specified
Event Date EventDate Timestamp datetime_utc Not specified
Event Source ID EventSourceId String fmk.Event.SourceID Not specified
Operating System Name OperatingSystemName String ext.os.name Not specified
Operating System Version OperatingSystemVersion String ext.device.osver Not specified
Page Title PageTitle String data.wt.ti Not specified
Page URI PageURI String data.page-uri Not specified
Page URL PageURL String data.wt.es Not specified
Product ID ProductID String fmk.Product.ID Product.ID
Product Name ProductName String cdp.Product.Name Not specified
Product SKU ProductSKU String data.wt.pn_sku Not specified
Referrer Referrer String data.referrer Not specified
Referring Domain ReferringDomain String data.referrer-domain Not specified
Referring URI ReferringURI String data.referrer-path Not specified
Region Region String ext.geo.region Not specified
Shopping Cart ID ShoppingCartID String data.wt.tx_cartid Not specified
Transaction Subtotal TransactionSubtotal Numeric data.wt.tx_s Not specified
Unified ID UnifiedId String fmk.Customer.ID Not specified
Units Units Numeric data.wt.tx_u Not specified
Visitor ID VisitorID String session.visitor_id Not specified

View order status

A visitor, user, or other entity views the status of an order or invoice.

Category Behavior type API name
Commerce User-triggered viewOrderStatus
Detection expression
data.wt.ev=$ViewOrderStatus OR data.action.type=view-order-status

The following attributes are delivered with this behavior. Expressions and foreign keys are shown as defined in the source workbook.

Behavior attributes

Display name API name Type Expression Foreign key
Browser Name BrowserName String ext.browser.name Not specified
Browser Version BrowserVersion String ext.browser.version Not specified
City City String ext.geo.city Not specified
Country Country String ext.geo.country Not specified
Device Name DeviceName String ext.device.mktn Not specified
Device Type DeviceType String ext.device.type Not specified
Domain Domain String data.domain Not specified
Event Date EventDate Timestamp datetime_utc Not specified
Event Source ID EventSourceId String fmk.Event.SourceID Not specified
Invoice ID InvoiceID String data.wt.tx_i Not specified
Operating System Name OperatingSystemName String ext.os.name Not specified
Operating System Version OperatingSystemVersion String ext.device.osver Not specified
Page Title PageTitle String data.wt.ti Not specified
Page URI PageURI String data.page-uri Not specified
Page URL PageURL String data.wt.es Not specified
Referrer Referrer String data.referrer Not specified
Referring Domain ReferringDomain String data.referrer-domain Not specified
Referring URI ReferringURI String data.referrer-path Not specified
Region Region String ext.geo.region Not specified
Unified ID UnifiedId String fmk.Customer.ID Not specified
Visitor ID VisitorID String session.visitor_id Not specified

View product

A visitor, user, or other entity views a product.

Category Behavior type API name
Commerce User-triggered viewProduct
Detection expression
data.wt.tx_e=v

The following attributes are delivered with this behavior. Expressions and foreign keys are shown as defined in the source workbook.

Behavior attributes

Display name API name Type Expression Foreign key
Browser Name BrowserName String ext.browser.name Not specified
Browser Version BrowserVersion String ext.browser.version Not specified
Campaign ID CampaignID String data.wt.mc_id Not specified
City City String ext.geo.city Not specified
Content Group ContentGroup String data.wt.cg_n Not specified
Content Subgroup ContentSubgroup String data.wt.cg_s Not specified
Country Country String ext.geo.country Not specified
Device Name DeviceName String ext.device.mktn Not specified
Device Type DeviceType String ext.device.type Not specified
Domain Domain String data.domain Not specified
Event Date EventDate Timestamp datetime_utc Not specified
Event Source ID EventSourceId String fmk.Event.SourceID Not specified
Operating System Name OperatingSystemName String ext.os.name Not specified
Operating System Version OperatingSystemVersion String ext.device.osver Not specified
Page Title PageTitle String data.wt.ti Not specified
Page URI PageURI String data.page-uri Not specified
Page URL PageURL String data.wt.es Not specified
Product ID ProductID String fmk.Product.ID Product.ID
Product Name ProductName String cdp.Product.Name Not specified
Product SKU ProductSKU String data.wt.pn_sku Not specified
Referrer Referrer String data.referrer Not specified
Referring Domain ReferringDomain String data.referrer-domain Not specified
Referring URI ReferringURI String data.referrer-path Not specified
Region Region String ext.geo.region Not specified
Unified ID UnifiedId String fmk.Customer.ID Not specified
Visitor ID VisitorID String session.visitor_id Not specified

View products in shopping cart

A visitor, user, or other entity views products added to a shopping cart.

Category Behavior type API name
Commerce User-triggered viewProductsInShoppingCart
Detection expression
data.wt.ev=$ViewShoppingCartItems OR data.action.type=view-shopping-cart

The following attributes are delivered with this behavior. Expressions and foreign keys are shown as defined in the source workbook.

Behavior attributes

Display name API name Type Expression Foreign key
Browser Name BrowserName String ext.browser.name Not specified
Browser Version BrowserVersion String ext.browser.version Not specified
City City String ext.geo.city Not specified
Country Country String ext.geo.country Not specified
Device Name DeviceName String ext.device.mktn Not specified
Device Type DeviceType String ext.device.type Not specified
Domain Domain String data.domain Not specified
Event Date EventDate Timestamp datetime_utc Not specified
Event Source ID EventSourceId String fmk.Event.SourceID Not specified
Operating System Name OperatingSystemName String ext.os.name Not specified
Operating System Version OperatingSystemVersion String ext.device.osver Not specified
Page Title PageTitle String data.wt.ti Not specified
Page URI PageURI String data.page-uri Not specified
Page URL PageURL String data.wt.es Not specified
Referrer Referrer String data.referrer Not specified
Referring Domain ReferringDomain String data.referrer-domain Not specified
Referring URI ReferringURI String data.referrer-path Not specified
Region Region String ext.geo.region Not specified
Shopping Cart ID ShoppingCartID String data.wt.tx_cartid Not specified
Unified ID UnifiedId String fmk.Customer.ID Not specified
Visitor ID VisitorID String session.visitor_id Not specified