public class ItemHit extends GoogleAnalyticsRequest<ItemHit>
For more information, see GA Parameters Reference
customDimensions, customMetrics, delegateExecutor, parms| Constructor and Description |
|---|
ItemHit() |
| Modifier and Type | Method and Description |
|---|---|
String |
currencyCode() |
ItemHit |
currencyCode(String value)
|
String |
itemCategory() |
ItemHit |
itemCategory(String value)
|
String |
itemCode() |
ItemHit |
itemCode(String value)
|
String |
itemName() |
ItemHit |
itemName(String value)
|
Double |
itemPrice() |
ItemHit |
itemPrice(Double value)
|
Integer |
itemQuantity() |
ItemHit |
itemQuantity(Integer value)
|
String |
txId() |
ItemHit |
txId(String value)
|
adwordsId, adwordsId, anonymizeIp, anonymizeIp, applicationId, applicationId, applicationInstallerId, applicationInstallerId, applicationName, applicationName, applicationVersion, applicationVersion, cacheBuster, cacheBuster, campaignContent, campaignContent, campaignId, campaignId, campaignKeyword, campaignKeyword, campaignMedium, campaignMedium, campaignName, campaignName, campaignSource, campaignSource, clientId, clientId, contentDescription, contentDescription, customDimension, customDimension, customDimensions, customMetric, customMetric, custommMetrics, dataSource, dataSource, displayadId, displayadId, documentEncoding, documentEncoding, documentHostName, documentHostName, documentPath, documentPath, documentReferrer, documentReferrer, documentTitle, documentTitle, documentUrl, documentUrl, experimentId, experimentId, experimentVariant, experimentVariant, flashVersion, flashVersion, fromBoolean, fromDouble, fromInteger, geoid, geoid, getBoolean, getDouble, getInteger, getParameters, getString, hitType, hitType, javaEnabled, javaEnabled, nonInteractionHit, nonInteractionHit, parameter, parameter, protocolVersion, protocolVersion, queueTime, queueTime, screenColors, screenColors, screenResolution, screenResolution, send, sendAsync, sessionControl, sessionControl, setBoolean, setDouble, setExecutor, setInteger, setString, toBoolean, toDouble, toInteger, toString, trackingId, trackingId, userAgent, userAgent, userId, userId, userIp, userIp, userLanguage, userLanguage, viewportSize, viewportSizepublic ItemHit txId(String value)
Required for transaction hit type.
Required for item hit type.
A unique identifier for the transaction. This value should be the same for both the Transaction hit and Items hits associated to the particular transaction.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
ti |
text | None | 500 Bytes | transaction, item |
OD564ti=OD564 public String txId()
public ItemHit itemName(String value)
Required for item hit type.
Specifies the item name.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
in |
text | None | 500 Bytes | item |
Shoein=Shoe public String itemName()
public ItemHit itemPrice(Double value)
Optional.
Specifies the price for a single item / unit.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
ip |
currency | 0 |
None | item |
3.50ip=3.50 public Double itemPrice()
public ItemHit itemQuantity(Integer value)
Optional.
Specifies the number of items purchased.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
iq |
integer | 0 |
None | item |
4iq=4 public Integer itemQuantity()
public ItemHit itemCode(String value)
Optional.
Specifies the SKU or item code.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
ic |
text | None | 500 Bytes | item |
SKU47ic=SKU47 public String itemCode()
public ItemHit itemCategory(String value)
Optional.
Specifies the category that the item belongs to.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
iv |
text | None | 500 Bytes | item |
Blueiv=Blue public String itemCategory()
public ItemHit currencyCode(String value)
Optional.
When present indicates the local currency for all transaction currency values. Value should be a valid ISO 4217 currency code.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
cu |
text | None | 10 Bytes | transaction, item |
EURcu=EUR public String currencyCode()
Copyright © Sep 2013–2018 Mike Hardy. All rights reserved.