TransactionItemHit Class |
Namespace: NetQuarry.Services.GoogleAnalytics
The TransactionItemHit type exposes the following members.
| Name | Description | |
|---|---|---|
| TransactionItemHit | Initializes a new instance of the TransactionItemHit class |
| Name | Description | |
|---|---|---|
| Category |
Specifies the category that the item belongs to.
Param iv (YES, iv!)
Optional
| |
| ClientID |
Gets/Sets the client identifier, typically the UserGUID value.
(Inherited from MeasurementProtocolPayload.) | |
| Code |
Specifies the SKU or item code.
Param: ic
Optional
| |
| ID |
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.
Param: ti
Required
500 bytes max
| |
| Name |
Specifies the item name.
Param: in
Required
| |
| Price |
Specifies the price for a single item / unit.
Param: ip
Optional
| |
| Quantity |
Specifies the number of items purchased.
Param: iq
Optional
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetPostData |
Returns the post data to send to ga for the transaction item hit
(Overrides MeasurementProtocolPayloadGetPostData.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |