A 1st-Party Attribution Suite for eCommerce
  • Introducing Fueled
  • How Fueled Works
    • Key Concepts
    • Use Cases
    • Is Fueled a CDP?
  • Apps
    • Shopify App
      • Shopify Event Tracking
        • Customizing Client-Side Shopify Events
        • Custom Pixel
          • Custom Pixel For Tracking ATC Events
          • Custom Pixel For Tracking Checkout Steps
        • Working with Fueled’s Shopify Data Layer
      • Google Analytics Connector
        • Configuring Google Analytics 4
        • Configuring GA4 Settings in Shopify
          • Shopify Order Source IDs
        • GA4 Shopify App Event Definitions
      • Google Ads Connector
      • Facebook Pixel/CAPI Connector
      • Segment Connector
      • Google Tag Manager Integration
      • Data Warehouse Connector
      • Domain Name Proxy
    • BigCommerce App
      • Google Analytics 4 Connector
        • Configuring Google Analytics 4 for BigCommerce
        • Configuring Fueled’s BigCommerce App
        • BigCommerce Event Tracking
          • Working with Fueled’s BigCommerce Data Layer
          • Customizing Client-Side BigCommerce Events
        • GA4 BigCommerce App Event Definitions
      • Google Ads Connector
      • Segment Connector
      • Data Warehouse Connector
  • Integrations
    • Sources
      • Shopify
      • BigCommerce
      • Headless eCommerce
        • Pack Digital
        • TakeShape
        • Next Commerce
      • Gorgias
        • Ticket Created
        • Ticket Updated
      • Loop Returns
      • Klaviyo
        • Email Opened
        • Email Bounced
        • Email Unsubscribed
        • Email Marked as Spam
        • Email Link Clicked
        • Newsletter Signup Started/Completed
      • KnoCommerce Surveys
      • ReCharge Payments
      • Yotpo Reviews
        • Identify
        • Product Reviewed/Review Updated
        • Site Reviewed/Review Updated
      • WordPress
    • Destinations
      • Google Analytics 4
      • Google Ads
      • Facebook Pixel/CAPI
      • Data Warehouses
      • Segment.com
        • Segment Event Specifications
          • Page
          • Identify
          • Account Created/Updated
          • Cart Viewed
          • Checkout Started
          • Order Completed
          • Product Added/Removed
          • Product List Viewed
          • Product Viewed
          • Products Searched
      • RudderStack
      • MixPanel and Amplitude
  • Resources
    • Recipes & Open Source
      • BigCommerce, dbt & BigQuery
      • Working With GA4 Data In BigQuery
        • Simple 'Page View to Purchase' Funnel Analysis
        • Querying Device Information for Shoppers with Purchases
        • Debugging User IDs in GA4 Events
      • Downgrading To Shopify's Free GA4 Connector
      • Demos
        • Configuration In Under 5 Minutes
    • News, Articles & Podcasts
      • Upgrading To A Paid Fueled Plan On Shopify
      • Feature Comparisons
  • More Info
    • About Us
    • Get Support
Powered by GitBook
On this page
  • Description
  • Instrumentation
  • Example:
  1. Integrations
  2. Destinations
  3. Segment.com
  4. Segment Event Specifications

Order Completed

Description

The Order Completed event fires when an order is successfully place. Depending upon a merchant’s needs, Fueled implements this event either client-side or server-side.

Instrumentation

When implemented client-side, this event is implemented with our javascript analytics library. The tracking code is managed in the storefront theme, and this event fires on the storefront “Thank You” Page once an order has been completed. When implemented server-side, this event fires when Shopify signals (via a webhook) that an order has been placed.

Event Properties

Property

Type

Description

order_id

Number

Order/transaction ID

affiliation

String

Store or affiliation from which this transaction occurred (e.g. Google Store)

checkout_id

String

Checkout ID

value

Number

Revenue ($) with discounts and coupons added in. For better flexibility and total control over tracking, we let you decide how to calculate how coupons and discounts are applied

revenue

Number

Revenue ($) associated with the transaction (excluding shipping and tax)

shipping

Number

Shipping cost associated with the transaction

tax

Number

Total tax associated with the transaction

discount

Number

Total discount associated with the transaction

coupon

String

Transaction coupon redeemed with the transaction

currency

String

products

Array

Products in the order

products.$.product_id

String

Database id of the product being viewed

products.$.sku

String

Sku of the product being viewed

products.$.name

String

Name of the product being viewed

products.$.brand

String

Brand associated with the product

products.$.variant

String

Variant of the product (e.g. Black)

products.$.price

Number

Price ($) of the product being viewed

products.$.quantity

Number

Quantity of a product

products.$.coupon

String

Coupon code associated with a product (e.g MAY_DEALS_3)

products.$.position

Number

Position in the product list (ex. 3)

products.$.url

String

URL of the product page

products.$.image_url

String

Image url of the product

Example:

analytics.track('Order Completed', {
  order_id: '10254g8e9bcf0000450035100',
  affiliation: 'Google Store',
  value: 30,
  revenue: 25.00,
  shipping: 3,
  tax: 2,
  discount: 2.5,
  coupon: 'hasbros',
  currency: 'USD',
  products: [
    {
      product_id: '509f1f77bcf86cd739734079',
      sku: '337790-12',
      name: 'Monopoly: 3rd Edition',
      price: 19,
      quantity: 1,
      url: 'https://www.example.com/product/path',
      image_url: 'https://www.example.com/product/path.jpg'
    },
    {
      product_id: '202gr79735evb509fc183733',
      sku: '46932-52',
      name: 'Uno Card Game',
      price: 3,
      quantity: 2,
    }
  ]
});
PreviousCheckout StartedNextProduct Added/Removed

Last updated 1 year ago

associated with the transaction

Currency code