Event Types
Eight types of E-Commerce events can be sent to Finteza:
- View Item – viewing the product
- Add To Cart and Remove From Cart – adding and removing products from carts
- View Cart – viewing the cart
- Checkout Begin and Checkout Progress – beginning and continuing checkout
- Checkout Success – successfully completed purchase
- Checkout Failed – failed purchase
- Refund – purchase refund
All other events will not be included in E-Commerce reports on the Finteza side. |
View Item #
The event shows that a product was viewed. The characteristics of the viewed item are specified in the event:
fz('ecommerce', {
|
As a result, two "View Item" events will be created in Finteza, one for each of the described items.
Add To Cart / Remove From Cart #
These events are used when products are added or removed from the cart. In addition to product descriptions, the event should contain the cart ID in the cart_id parameter (the ID should be generated by your website).
fz('ecommerce', {
|
As a result, two "Add To Cart" events will be created in Finteza, one for each of the described items. The specified cart ID will be added to each event.
Do not pass the list_name and list_position parameters for removing from cart event. They describe the list from which the item was added to the cart, so they have no meaning for a removal event.
View Cart #
The event is related to viewing a cart. The event contains information about the cart cost, as well as additional providers, if there are any: tax, discount, net profit. Additional parameters can also be specified for individual products.
fz('ecommerce', {
|
The following three events will be created in Finteza:
- "View Cart" event for each product. The events will include cart_id.
- The "View Cart" event for the cart. If cart_id is not specified, the event will not be generated.
Checkout Begin / Checkout Progress #
These are purchase beginning and continuing events – when the user has already added items to the cart and proceeds to checkout.
In addition to the parameters used in the "View Cart" stage, information about the purchase stage can be passed here. Information about discounts and used coupons can also be corrected here.
fz('ecommerce', {
|
The following three events will be created in Finteza:
- The "Checkout Begin" event for each item. The events will include cart_id, checkout_step and checkout_option from the cart description.
- The "Checkout Begin" event for the cart. If cart_id is not specified, the event will not be generated.
Checkout Success #
This events means successful purchase completion. In addition to information from the previous event, it is possible to specify here the payment ID (transaction_id) and store data (affiliate). The following can be additionally specified:
- Buyer's name (buyer) and seller's name (seller). Top sellers and buyers reports are useful if many third-party sellers operate on your site.
- Payment system fees for the transaction (transaction_fee).
- Net sales income, net commissions, taxes and fees (profit).
fz('ecommerce', {
|
The following three events will be created in Finteza:
- The "Checkout Success" event for each item. The events will include transaction_id, affiliation, cart_id, checkout_step and checkout_option from the cart description.
- The "Checkout Success" event for the cart. If cart_id is not specified, the event will not be generated.
Checkout Failed #
This event reflects a failed attempt to make a payment for an order. Unlike the previous event, this event does not contain transaction_id but contains an error description in the detail parameter.
fz('ecommerce', {
|
The following three events will be created in Finteza:
- The "Checkout Failed" event for each item. The events will include detail, cart_id, checkout_step and checkout_option, from the cart description.
- The "Checkout Failed" event for the cart. If cart_id is not specified, the event will not be generated.
Refund #
The event reflects product refunds. The event contains payment identifier transaction_id to link to the the original payment, and the description of the refund reason in the detail parameter.
fz('ecommerce', {
|
The following three events will be created in Finteza:
- The "Refund" event for each item. The events will include transaction_id, detail and cart_id from the cart description.
- The "Refund" event for the cart. If cart_id is not specified, the event will not be generated.