Ecommerce Statistics

Get Insights on Customers, Revenue, and Buying Habits

  1. What It's All About
  2. Set the Date
  3. Filters For eCommerce Statistics
    1. Unleash the Power of Your eCommerce Data
  4. Overview
    1. eCommerce KPIs
  5. Integrate E-Commerce Events to Boost Your Website Intelligence
    1. The function expects 3 parameters
    2. The following events are supported
  6. Event "add_payment_info"
    1. Description of the "add_payment_info" event
    2. Event Tag for "add_payment_info"
    3. Parameters for "add_payment_info"
  7. Event "add_shipping_info"
    1. Description of the "add_shipping_info" event
    2. Event tag for "add_shipping_info"
    3. Parameters for "add_shipping_info"
  8. Event "add_to_cart"
    1. Description of the "add_to_cart" event
    2. Event tag for "add_to_cart"
    3. Parameters for "add_to_cart"
    4. Item parameters for "add_to_cart"
  9. Event "add_to_wishlist"
    1. Description of the "add_to_wishlist" event
    2. Event tag for "add_to_wishlist"
    3. Parameters for "add_to_wishlist"
    4. Item parameters for "add_to_wishlist"
  10. Event "begin_checkout"
    1. Description of the "begin_checkout" event
    2. Event tag for "begin_checkout"
    3. Parameters for "begin_checkout"
    4. Item parameters for "begin_checkout"
  11. Event "generate_lead"
    1. Description of the "generate_lead" event
    2. Event tag for "generate_lead"
    3. Parameters for "generate_lead"
  12. Event "login"
    1. Description of the "login" event
    2. Event tag for "login"
    3. Parameters for "login"
  13. Event "purchase"
    1. Description of the "purchase" event
    2. Event tag for "purchase"
    3. Parameters for "purchase"
    4. Item parameters for "purchase"
  14. Event "refund"
    1. Description of the "refund" event
    2. Event tag for "refund"
    3. Parameters for "refund"
    4. Item parameters for "refund"
  15. Event "remove_from_cart"
    1. Description of the "remove_from_cart" event
    2. Event tag for "remove_from_cart"
    3. Parameters for "remove_from_cart"
    4. Item parameters for "remove_from_cart"
  16. Event "remove_from_wishlist"
    1. Description of the "remove_from_wishlist" event
    2. Event tag for "remove_from_wishlist"
    3. Parameters for "remove_from_wishlist"
    4. Item parameters for "remove_from_wishlist"
  17. Event "share"
    1. Description of the "share" event
    2. Event tag for "share"
    3. Parameters for "share"
    4. Item parameters for "share"
  18. Event "sign_up"
    1. Description of the "sign_up" event
    2. Event tag for "sign_up"
    3. Parameters for "sign_up"
  19. Event "view_cart"
    1. Description of the "view_cart" event
    2. Event tag for "view_cart"
    3. Parameters for "view_cart"
    4. Item parameters for "view_cart"
  20. Event "view_item"
    1. Description of the "view_item" event
    2. Event tag for "view_item"
    3. Parameters for "view_item"
    4. Item parameters for "view_item"
  21. Event "view_item_list"
    1. Description of the "view_item_list" event
    2. Event tag for "view_item_list"
    3. Parameters for "view_item_list"
    4. Item parameters for "view_item_list"

E-commerce Statistics is a crucial feature designed to directly guide the growth and success of your online retail store. Leverage this data to gain granular, actionable insight into customer and prospect behavior, evaluate the popularity of specific products, and understand wider purchasing trends to boost your revenue.

It consists of three submodules:

  • Overview
  • Customers
  • Sales Charts

The date picker, located directly above the dashboard tiles, allows you to adjust your data view to any specific time period or single day.

It is crucial to use this feature to isolate data corresponding to specific marketing campaigns or implementation periods. This focused view enables you to accurately assess the effectiveness of your actions and gain actionable insights essential for future strategic planning.

Important Note: The app retains your previously set filters and date intervals across navigation and logins. However, closing the tab or session expiration will cause the system to automatically revert to the default setting of "Last 30 Days."


Take control of your eCommerce statistics with our new filters! Dive deeper than ever before into your order, customer, and product data to uncover valuable patterns and sharply refine your sales strategy.

The complete list of available filters is as follows:

Filter CategoryWhat It Filters and Why
Browser NameAllows you to filter the data by browser name which helps you optimize your website based on your audience preferences.
Browser VersionSame with the Browser Name, you can ensure that your website is optimized for the browsers your audience prefers. Identify issues related to specific browser versions and prioritize fixes accordingly.
City of VisitDrill down into user location data even further by using this filter. This information can be pivotal for local businesses, helping them tailor their content and marketing strategies to specific cities.
Company Category Associated With VisitB2B businesses can derive significant value from this filter. Identify which companies are visiting your site and segment them by industry category. This can inform lead generation strategies and personalized outreach efforts.
Company Name Associated With VisitSame with the Company Category, this filter would help in analyzing the data by industry category, getting to know which companies from specific industries visit your website the most. This filter allows you to segment and organize your visitor data to gain insights into the types of companies and industries showing interest in your website. 
Country NameBusinesses with a global presence will appreciate the Country Name filter. It enables you to explore user behavior and preferences on a country-specific level, aiding in localization efforts and targeting strategies.
Device TypeUnderstand how your audience accesses your website by filtering data based on device type. This filter helps ensure that your site is responsive and user-friendly across various devices, from desktops to smartphones.
eCommerceFilters based on order details to help you analyze your orders, including customer and product details.
IPThe IP filter can be a valuable tool for tracking visits from specific IP addresses, such as those from your organization or potential clients. Monitor user activity and tailor your website experience accordingly.
Operating SystemFilters the OS used (e.g., Windows, iOS, Android). Critical for testing, as certain bugs or features often only appear on specific OS versions and device types.
Page URLFilters the specific pages viewed on your site. Highlights the exact pages where customers are getting confused or leaving (drop-off points), enabling targeted efforts to fix friction and boost conversions.
Referrer URLFilters the source URL that directed the visitor to your site. Helps measure which external sites successfully refer high-quality traffic on specific devices.
Screen ResolutionFilters the height and width of the visitor's screen in pixels. Crucial for identifying if layout breaks or poor UX are tied to specific, non-standard screen sizes across devices.
Traffic ChannelFilters the marketing group the traffic belongs to (e.g., Organic Search, Social Media, AI Traffic). This insight can help you allocate resources more effectively and refine your marketing strategies.
UTM Campaign FilterFilters visits based on the specific UTM parameter used in a campaign link. Now, you can easily filter your dashboard data by specific UTM campaigns to see exactly how each campaign is performing.

 

How to Filter Data

  • Apply a Filter: Click the filter icon, choose your filter, specify criteria, and click Submit.
  • Save a Template: Click Save set filters for report block, name the template, and click Save Changes.
  • Use a Template: Click the filter icon, go to the Report’s Saved Filters tab, select the template, and click Submit.
  • Manage Templates: Click the pencil icon next to the template to rename it or select Delete Template (confirmation required).

The eCommerce filter is a powerful analytical tool designed to help you dive deep into your sales data and drive strategic growth. By leveraging this feature, you can gain valuable insights into customer behavior, product performance, and overall sales trends.

To precisely segment your data for deeper analysis, utilize the following filter options:

  • Customer Details: Customer ID
  • Product Categories: Item Category 1, Item Category 2, Item Category 3, Item Category 4, Item Category 5
  • Product Details: Item ID, Item Name
  • Source: Affiliation

You can find and use the eCommerce filter in the following report blocks to analyze your KPIs:

  • eCommerce KPIs
  • Revenue by Product
  • Units Sold per Product
  • Product KPIs
  • Ratio Sessions/Sales
  • Number of Orders by Traffic Channel

Important Hint: Combine multiple filters to narrow down your analysis and get more specific results.


Overview

The first submodule presents an overview of the most important Key Performance Indicators (KPIs). The displayed data always depends on the date period selected. Percentages represent the change of the KPIs when compared to the previous period. It is composed of the following report blocks:

  • eCommerce KPIs
  • Net Revenue
  • Session/Purchase Ratio
  • Start Checkout/Purchase Ratio
  • Average Items Purchased/Order
  • Average Order Value
  • Highest Revenue Day
  • Most Orders in a Day
  • Top Sold Products
  • Most Viewed Products
  • Products Most Removed from Cart
  • Products most often added to cart
  • Top Customers

This report block displays Key Performance Indicators (KPIs) for your shop during the selected period, including:

  • Overall Visitor Sessions: Total tracked sessions on your website
  • Customers: Number of visitors who made at least one purchase
  • Orders: Total number of orders made by customers
  • Sold Products: Total number of products purchased
  • Gross Revenue: Overall revenue generated (excluding tax/VAT, but including discounts)

You can visualize the data using different visualization options: Line Diagram, Table View, Bar Chart, or Radar Chart Stacked View to suit your analysis.

At the top right of the report block, the Compare toggle switch activates the following comparison options:

  • Compare Previous Period: Compares the current data to the immediately preceding period (if it exists).
  • Compare Year over Year: Compares the current data to the same period of the previous year (if it exists).

You will also find the specific dates covered by the previous period or year, for example, 08/31/2025 - 10/01/2025. This allows you to get a clearer view of your current data against the previous equivalent period or year. The lines in lighter shades represent the data from the previous timeframe.

Next to the Compare toggle switch is the filter icon, which can use various criteria to narrow down your analysis.

You can easily switch the grouping to daily, weekly, monthly, or yearly intervals. Move your mouse over the graph to see the specific details and metrics for any given point in time.


Integrate E-Commerce Events to Boost Your Website Intelligence

The E-commerce Events function is very similarly to the custom events feature. It relies on the global va function available in the website of the user that sends the events through the worker to the API.

The function expects 3 parameters

  1. ecom - to specify that this is an e-com event
  2. The type of the events from the list below
  3. The payload of the event

The events follow a very similar structure to Google Analytics in order to facilitate migration.

Event "add_payment_info"

Description of the "add_payment_info" event

This event is triggered when a user submits their payment information during an ecommerce checkout process. This information typically includes the user’s credit card number, billing address, and other relevant details. By tracking this event, you will gain insights into the number of successful transactions and the effectiveness of your payment processing system.

Event Tag for "add_payment_info"


va('ecom', 'add_payment_info', {
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency": "RON",
  "value": 0.00,
  "method": "Credit Card"
})
		

Parameters for "add_payment_info"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 payment_type
 
 
 string
 
 
 No
 
 
 Credit Card
 
 
 The chosen method of payment
 

Event "add_shipping_info"

Description of the "add_shipping_info" event

This event is triggered when a user submits their shipping information during an ecommerce checkout process. Shipping information typically includes the user’s name, address, and other relevant details that are required to deliver the purchased product to them. By tracking this event, you will gain insights into the number of successful deliveries and the effectiveness of your shipping process. This can help you to optimize your shipping strategies and improve overall customer satisfaction.

Event tag for "add_shipping_info"


va('ecom','add_shipping_info',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "shippingTier":"DHL"
})
		

Parameters for "add_shipping_info"

NameTypeRequiredExample ValueDescription
 
  currency
 
 
  string
 
 
  Yes*
 
 
  EUR
 
 
  Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
  value
 
 
  number
 
 
  Yes*
 
 
  17.99
 
 
  The monetary value of the event (quantity * price)
 
 
  shipping_tier
 
 
  string
 
 
  No
 
 
  Ground
 
 
  The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item.
 

Event "add_to_cart"

Description of the "add_to_cart" event

This event is triggered when a user adds an item to their cart during an ecommerce session. By tracking this event, you will gain insights into the number of items added to the cart and the effectiveness of your product placement and pricing strategies. This can help you optimize your ecommerce experience and improve customer satisfaction.

Event tag for "add_to_cart"


va('ecom','add_to_cart',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "add_to_cart"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

 

Item parameters for "add_to_cart"

NameTypeRequiredExample ValueDescription
 
 item_id
 
 
 string
 
 
 Yes*
 
 
 SKU_123
 
 
 The ID of the item.
 
 
 item_name
 
 
 string
 
 
 Yes*
 
 
 iPhone 15
 
 
 The name of the item.
 
 
 affiliation
 
 
 string
 
 
 No
 
 
 Magazin online #1
 
 
 A product affiliation to designate a supplying company or brick and mortar store location. Note: 'affiliation' is only available at the item-scope.
 
 
 coupon
 
 
 string
 
 
 No
 
 
 50%OFF
 
 
 The coupon name/code associated with the item. Event-level and item-level coupon parameters are independent.
 
 
 discount
 
 
 number
 
 
 No
 
 
 10
 
 
 The unit monetary discount value associated with the item.
 
 
 index
 
 
 number
 
 
 No
 
 
 0
 
 
 The index/position of the item in a list.
 
 
 item_brand
 
 
 string
 
 
 No
 
 
 Apple
 
 
 The brand of the item.
 
 
 item_category
 
 
 string
 
 
 No
 
 
 Category 1
 
 
 The category of the item. If used as part of a category hierarchy or taxonomy then this will be the first category.
 
 
 item_category2
 
 
 string
 
 
 No
 
 
 Category 2
 
 
 The second category hierarchy or additional taxonomy for the item.
 
 
 item_category3
 
 
 string
 
 
 No
 
 
 Category 3
 
 
 The third category hierarchy or additional taxonomy for the item.
 
 
 item_category4
 
 
 string
 
 
 No
 
 
 Category 4
 
 
 The fourth category hierarchy or additional taxonomy for the item.
 
 
 item_category5
 
 
 string
 
 
 No
 
 
 Category 5
 
 
 The fifth category hierarchy or additional taxonomy for the item.
 
 
 item_list_id
 
 
 string
 
 
 No
 
 
 LIST-123
 
 
 The ID of the list in which the item was presented to the user. If set, event-level item_list_name is ignored. If not set, event-level item_list_name is used, if present.
 
 
 item_list_name
 
 
 string
 
 
 No
 
 
 John's wishlist
 
 
 The name of the list in which the item was presented to the user. If set, event-level item_list_name is ignored. If not set, event-level item_list_name is used, if present.
 
 
 item_variant
 
 
 string
 
 
 No
 
 
 Sky Blue
 
 
 The item variant or unique code or description for additional item details/options.
 
 
 location_id
 
 
 string
 
 
 No
 
 
 Online shop #2
 
 
 The location associated with the item (e.g. the physical store location).
 
 
 price
 
 
 number
 
 
 No
 
 
 6512.30
 
 
 The monetary unit price of the item, in units of the specified currency parameter. If a discount applies to the item, set price to the discounted unit price and specify the unit price discount in the discount parameter.
 
 
 quantity
 
 
 number
 
 
 No
 
 
 1
 
 
 Item quantity.
 
 
 image_url
 
 
 string
 
 
 No
 
 
 imageURLoftheproduct.com
 
 
 The image URL of the product.
 

 

Event "add_to_wishlist"

Description of the "add_to_wishlist" event

This event indicates that a user has added an item to their wishlist. You can leverage this event to identify popular gift items in your app.

Event tag for "add_to_wishlist"


va('ecom','add_to_wishlist',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "add_to_wishlist"

NameTypeRequiredExample ValueDescription
 
   currency
 
 
   string
 
 
   Yes*
 
 
   EUR
 
 
   Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
   value
 
 
   number
 
 
   Yes*
 
 
   17.99
 
 
   The monetary value of the event.
 
 
   items
 
 
   Array<Item>
 
 
   Yes
 
 
       
 
 
   The items of the event.
 

Item parameters for "add_to_wishlist"

The item parameters can be found at item parameters for "add_to_cart"

Event "begin_checkout"

Description of the "begin_checkout" event

This event indicates that a user has initiated the checkout process.

Event tag for "begin_checkout"


va('ecom','begin_checkout',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "coupon": "DISCOUNT CODE",
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "begin_checkout"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 coupon
 
 
 string
 
 
 No
 
 
 Coupon_code
 
 
 The coupon name/code associated with the event.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

Item parameters for "begin_checkout"

The item parameters can be found at item parameters for "add_to_cart"

Event "generate_lead"

Description of the "generate_lead" event

This event is used to track when a lead is generated, such as through a form completion. By logging this event, you will gain insights into the effectiveness of your marketing campaigns and how many customers re-engage with your business after remarketing to them. This can help you optimize your marketing strategies and improve your customer engagement.

Event tag for "generate_lead"


va('ecom','generate_lead',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00
})
		

Parameters for "generate_lead"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 

Event "login"

Description of the "login" event

Use this event to indicate that a user has logged in to your website or app.

Event tag for "login"


va('ecom','login',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "method": "Basic auth"
})
		

Parameters for "login"

NameTypeRequiredExample ValueDescription
 method
 string
 No
 Basic auth
 The method used to login.

Event "purchase"

Description of the "purchase" event

This event indicates that a user has bought one or more items.

Event tag for "purchase"


va('ecom','purchase',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "transaction_id": "PayPal12312321312",
  "currency": "RON",
  "value": 6502.30,
  "coupon": "DISCOUNT_CODE",
  "shipping":12.50,
  "tax": 850.21,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "purchase"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 transaction_id
 
 
 string
 
 
 Yes
 
 
 T_12345
 
 
 The unique identifier of a transaction.
 
 
 coupon
 
 
 string
 
 
 No
 
 
 Coupon_code
 
 
 The coupon name/code associated with the event.
 
 
 shipping
 
 
 number
 
 
 No
 
 
 3.33
 
 
 Shipping cost associated with a transaction.
 
 
 tax
 
 
 number
 
 
 No
 
 
 1.11
 
 
 Tax cost associated with a transaction.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

Item parameters for "purchase"

The item parameters can be found at item parameters for "add_to_cart"

Event "refund"

Description of the "refund" event

This event indicates that one or more items have been refunded to a user.

Event tag for "refund"


va('ecom','refund',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "transaction_id": "PayPal12312321312",
  "currency": "RON",
  "value": 6502.30,
  "coupon": "DISCOUNT_CODE",
  "shipping":12.50,
  "tax": 850.21,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "refund"

NameTypeRequiredExample ValueDescription
 
  currency
 
 
  string
 
 
  Yes*
 
 
  EUR
 
 
  Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
  transaction_id
 
 
  string
 
 
  Yes
 
 
  T_12345
 
 
  The unique identifier of a transaction.
 
 
  value
 
 
  number
 
 
  Yes*
 
 
  17.99
 
 
  The monetary value of the event.
 
 
  coupon
 
 
  string
 
 
  No
 
 
  Coupon_code
 
 
  The coupon name/code associated with the event.
 
 
  shipping
 
 
  number
 
 
  No
 
 
  3.33
 
 
  Shipping cost associated with a transaction.
 
 
  tax
 
 
  number
 
 
  No
 
 
  1.11
 
 
  Tax cost associated with a transaction.
 
 
  items
 
 
  Array<Item>
 
 
  No*
 
 
   
 
 
  The items of the event.
 

Item parameters for "refund"

The item parameters can be found at item parameters for "add_to_cart"

Event "remove_from_cart"

Description of the "remove_from_cart" event

This event indicates that a user has taken an item out of their cart. The occurrence of this event is a clear indication that an item has been removed from a cart.

Event tag for "remove_from_cart"


va('ecom','remove_from_cart',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "remove_from_cart"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

Item parameters for "remove_from_cart"

The item parameters can be found at item parameters for "add_to_cart"

Event "remove_from_wishlist"

Description of the "remove_from_wishlist" event

The event signifies that an item was removed from a wishlist. 

Event tag for "remove_from_wishlist"


va('ecom','remove_from_wishlist',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "remove_from_wishlist"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

 

Item parameters for "remove_from_wishlist"

The item parameters can be found at item parameters for "add_to_cart"

Event "share"

Description of the "share" event

This event should be used to identify when a user has shared content.

Event tag for "share"


va('ecom','share',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "method": "Twitter",
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "share"

NameTypeRequiredExample ValueDescription
 
 method
 
 
 string
 
 
 No
 
 
 Twitter
 
 
 The method in which the content is shared.
 
 
 content_type
 
 
 string
 
 
 No
 
 
 image
 
 
 The type of shared content.
 
 
 item_id
 
 
 string
 
 
 No
 
 
 C_12345 
 
 
 The ID of the shared content.
 

Item parameters for "share"

The item parameters can be found at item parameters for "add_to_cart"

Event "sign_up"

Description of the "sign_up" event

The occurrence of this event is a clear indication that a user has created an account. You can leverage this event to identify and analyze the distinct behaviors of users who are logged in and those who are not.

Event tag for "sign_up"


va('ecom','sign_up',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "method": "Google"
})
		

Parameters for "sign_up"

NameTypeRequiredExample ValueDescription
 method
 string
 No
 Google
 The method used for sign up.

Event "view_cart"

Description of the "view_cart" event

The occurrence of this event is a clear indication that a user has looked at the contents of their cart.

Event tag for "view_cart"


va('ecom','view_cart',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "view_cart"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

Item parameters for "view_cart"

The item parameters can be found at item parameters for "add_to_cart"

Event "view_item"

Description of the "view_item" event

This event indicates that a user has viewed some content. You can use this event to identify the most frequently viewed items.

Event tag for "view_item"


va('ecom','view_item',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "view_item"

NameTypeRequiredExample ValueDescription
 
 currency
 
 
 string
 
 
 Yes*
 
 
 EUR
 
 
 Currency of the items associated with the event, in 3-letter ISO 4217 format.
 
 
 value
 
 
 number
 
 
 Yes*
 
 
 17.99
 
 
 The monetary value of the event.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

Item parameters for "view_item"

The item parameters can be found at item parameters for "add_to_cart"

Event "view_item_list"

Description of the "view_item_list" event

Record this event when the user has been shown a list of items belonging to a specific category.

Event tag for "view_item_list"


va('ecom','view_item_list',{
  "customer": {
    "id": "internalID",
    "name": "John Smith",
    "email": "john@smith.com",
    "phoneNumber": "+4012312312312" 
  },
  "term": "Item List Name",
  "currency":"RON",
  "value":0.00,
  "items":[
    {
      "id": "SKU_123",
      "item_name": "iPhone 15",
      "affiliation": "Magazin online #1",
      "coupon": "50%OFF",
      "discount": 10,
      "index": 0,
      "item_brand": "Apple",
      "item_category": "Category 1",
      "item_category2": "Category 2",
      "item_category3": "Category 3",
      "item_category4": "Category 4",
      "item_category5": "Category 5",
      "item_list_id": "LIST-123",
      "item_list_name": "John's wishlist",
      "item_variant": "Sky Blue",
      "location_id": "Online shop #2",
      "price": 6512.30,
      "quantity": 1,
      "image_url": "https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.og.jpg?202309270316"
    }
  ]
})
		

Parameters for "view_item_list"

NameTypeRequiredExample ValueDescription
 
 item_list_id
 
 
 string
 
 
 No
 
 
 related_products
 
 
 The ID of the list in which the item was presented to the user.
 
 
 item_list_name
 
 
 string
 
 
 No
 
 
 Related products
 
 
 The name of the list in which the item was presented to the user.
 
 
 items
 
 
 Array<Item>
 
 
 Yes
 
 
  
 
 
 The items of the event.
 

Item parameters for "view_item_list"

The item parameters can be found at item parameters for "add_to_cart"


Powered by AWL