GoogleAnalyticsActionInterface
in
Interface GoogleAnalyticsActionInterface
Table of Contents
- affiliation() : string
- Returns the store or affiliation from which this transaction occurred.
- currency() : string
- Returns the currency value.
- items() : GoogleAnalyticsProductCollection
- Returns the associated products.
- shippingCost() : float
- Returns the shipping cost.
- tax() : float
- Returns the tax amount.
- transactionId() : string
- Returns the Unique ID for the transaction.
- value() : float
- Returns the value associated with the event.
Methods
affiliation()
Returns the store or affiliation from which this transaction occurred.
public
affiliation() : string
Return values
string —The store or affiliation from which this transaction occurred.
currency()
Returns the currency value.
public
currency() : string
Return values
string —Currency value (i.e. USD or EUR).
items()
Returns the associated products.
public
items() : GoogleAnalyticsProductCollection
Return values
GoogleAnalyticsProductCollection —The associated products.
shippingCost()
Returns the shipping cost.
public
shippingCost() : float
Return values
float —Shipping cost.
tax()
Returns the tax amount.
public
tax() : float
Return values
float —Tax amount.
transactionId()
Returns the Unique ID for the transaction.
public
transactionId() : string
Return values
string —Unique ID for the transaction.
value()
Returns the value associated with the event.
public
value() : float
Return values
float —Value (i.e. revenue) associated with the event.