Transaction Parameters

Transaction parameters collect information such as type, quantity and cost of purchases.

WT.tx_t

In earlier versions of Webtrends, this parameter was used to identify transaction types. Because Webtrends Analytics 9 does not use this query parameter in any preconfigured custom reports, it is no longer supported.

Valid Value: Alphanumeric strings (maximum length 64 bytes)

Syntax

WT . tx_t = type[;…]

WT.tx_u

Identifies the quantity in the transaction. Pass a positive integer for this value.

If an order contains multiple products, separate the numbers of units for each product using a comma or semi-colon (configurable) in the WT.tx_u variable.

When associating this measure with the product dimension in a Webtrends Analytics 9 custom report, select the correlation option to ensure that the first number of units is associated with the first product, the second number of units with the second product, and so on.

The Visitor Data Mart also recognizes this parameter. For more information, see Configuring Your Website to Collect Visitor Data Mart Data.

Valid Value: Integers

Syntax

WT . tx_u = units[;…]

WT.tx_s

Identifies the total cost for each product in the order.

The format of this field must match the currency format that Webtrends Analytics 9 is configured to analyze. Do not include a currency symbol and pass the value in dollars.cents format. For example, if you globally define your currency as US-Dollars in Webtrends Analytics 9, the format of this parameter for a $4500 cost is: WT.tx_s=4500.00.

If an order contains multiple products, the totals for each product should be separated by a comma or semi-colon (configurable) in the WT.tx_s variable.

When associating this measure with the product dimension in a custom report, select the correlation option to ensure that the first amount is associated with the first product, the second amount with the second product, and so on.

The Visitor Data Mart also recognizes this parameter. For more information, see Configuring Your Website to Collect Visitor Data MartData.

Valid Value: Decimals

Syntax

WT . tx_s = subtotal[;…]

WT.tx_e

This parameter identifies the type of transaction ( v=Product View, a=Cart Add, r=Cart remove, p=Purchase). It is used as qualifier in measure definitions, along with the WT.tx_u parameter to determine which product to count for a measure.

Webtrends Analytics 9 uses this parameter as a qualifier in preconfigured measure definitions in order to determine which product to count for a measure. Webtrends Visitor Data Mart uses this value to qualify certain preconfigured events. For more information, see Configuring Your Website to Collect Visitor Data Mart Data. You can use the parameter to report on specific activities by creating a custom report filter that you apply to a custom report.

You can pass a custom value for this parameter, or if you want to track product purchases, product views, product cart additions, and product cart removals, use:

WT.tx_e=p
Although Webtrends Analytics 9 does not use WT.tx_e=p to determine whether a visitor is a buyer (WT.vr_brws), the Visitor Data Mart does. Instead Webtrends Analytics 9 uses WT.tx_s to determine whether the visitor is a buyer. In addition, you can use the Invoice query parameters to include invoice number, date, and time for the purchase. For more information, see the invoice parameters WT.tx_i, WT.tx_id, and WT.tx_it.
WT.tx_e=v
Required by Webtrends Analytics 9 and Visitor Data Mart to identify a product view.
WT.tx_e=a
Identifies a product cart addition.
WT.tx_e=r
Identifies a product cart removal.
WT.tx_cartid=CartIdentifier
Pass a unique value to identify a visitor’s cart. Visitor Data Mart uses this parameter to identify events associated with a specific cart. For more information, see Configuring Your Website to Collect Visitor Data Mart Data.
Valid Value: Alphanumeric string

Syntax

WT . tx_e = {v | a | r| p}