This document describes the
av.order dataLayer object.
av.order describes attributes of the completed order as seen by the user on viewOrder.asp.
av.order consists of:
- Attributes of the completed order
- Objects that describe the products on the order
- Dictionary objects that provide additional descriptions for the products on the order
- Utility functions that allow the user to query the order for the existence, value and count of specific products on the order
- Dictionary lookup functions that allow the user to look up a GUID from a product on the order in the associated dictionary object
|
Information
In all of the tables below the currency type means a structure that has two elements:
- Amount: For the actual amount (number)
- Currency: For the actual currency (string).
|
The usage is simple: XXX.amount or XXX.currency where the XXX is the proper dataLayer reference.
For all objects of type array the index means the array index.
Top Level Attributes
affiliation
|
The Google Analytics affiliation configured in the registry or as a site attribute
|
string
|
av.order.affiliation
|
|
customer_city
|
The order customer address city
|
string
|
av.order.customer_city
|
|
customer_country
|
The order customer address country
|
string
|
av.order.customer_country
|
|
customer_number
|
The order customer number
|
string
|
av.order.customer_number
|
|
customer_state
|
The order customer address state
|
string
|
av.order.customer_state
|
|
customer_zip
|
The order customer address zip
|
string
|
av.order.customer_zip
|
|
delivery_method
|
The delivery method of the completed order
|
string
|
av.order.delivery_method
|
|
delivery_charges
|
An object that describes the delivery charges on the completed order
|
currency
|
av.order.delivery_charges
|
|
grand_total
|
An object that describes the grand_total of the completed order
|
currency
|
av.order.grand_total
|
|
order_number
|
The order number
|
string
|
av.order.order_number
|
|
payment_method
|
The payment method of the order
|
array
|
av.order.payment_method
|
Was a string in 6.7 but changed to an array in 6.8
|
total_tax
|
An object that describes the total tax on the completed order
|
currency
|
av.order.total_tax
|
|