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:
1.Attributes of the completed order
2.Objects that describe the products on the order
3.Dictionary objects that provide additional descriptions for the products on the order
4.Utility functions that allow the user to query the order for the existence, value and count of specific products on the order
5.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: 1.Amount: For the actual amount (number) 2.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.
Attribute |
Description |
Type |
Full dataLayer Reference |
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 |
total_tax |
An object that describes the total tax on the completed order |
currency |
av.order.total_tax |