\ShopGoogleAnalyticsOrder
Adds a field to the order to mark if a conversion has been recorded.
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class ShopGoogleAnalyticsOrder
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- public bool IsConversion()
- public float GAShippingTotal()
- public float GATaxTotal()
Hierarchy
Extends
- DataExtension
Members
private
- $db
Methods
public
- GAShippingTotal() — This is a very rudimentary method but it should allow for a variety of site configurations. If it's incorrect, it's easy enough to override by decorating the Order class.
- GATaxTotal() — This is a very rudimentary method but it should allow for a variety of site configurations. If it's incorrect, it's easy enough to override by decorating the Order class.
- IsConversion()