Class GoogleUniversalAnalyticsProcessor

java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafTagReplacementProcessor
org.broadleafcommerce.core.web.processor.GoogleUniversalAnalyticsProcessor
All Implemented Interfaces:
org.broadleafcommerce.presentation.dialect.BroadleafProcessor, org.broadleafcommerce.presentation.dialect.BroadleafTagReplacementProcessor

@Deprecated @Component("blGoogleUniversalAnalyticsProcessor") @ConditionalOnTemplating public class GoogleUniversalAnalyticsProcessor extends org.broadleafcommerce.presentation.dialect.AbstractBroadleafTagReplacementProcessor
Deprecated.
  • Field Details

    • masterWebPropertyId

      @Value("${googleAnalytics.masterWebPropertyId}") protected String masterWebPropertyId
      Deprecated.
      Global value, intentionally only retrieved as a file property NOT via the system properties service
    • orderService

      protected org.broadleafcommerce.core.order.service.OrderService orderService
      Deprecated.
    • testLocal

      @Value("${googleAnalytics.testLocal}") protected boolean testLocal
      Deprecated.
      This will force the domain to 127.0.0.1 which is useful to determine if the Google Analytics tag is sending a request to Google
  • Constructor Details

    • GoogleUniversalAnalyticsProcessor

      public GoogleUniversalAnalyticsProcessor()
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
    • getPrecedence

      public int getPrecedence()
      Deprecated.
      Specified by:
      getPrecedence in interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
      Overrides:
      getPrecedence in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafTagReplacementProcessor
    • getReplacementModel

      public org.broadleafcommerce.presentation.model.BroadleafTemplateModel getReplacementModel(String tagName, Map<String,String> tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
      Deprecated.
    • getTrackers

      protected Map<String,String> getTrackers()
      Deprecated.
      Grabs a map of trackers keyed by the tracker name with the analytics ID as the value
    • shouldShowMasterTracker

      protected boolean shouldShowMasterTracker()
      Deprecated.
    • getLinkAttributionJs

      protected String getLinkAttributionJs(String trackerPrefix)
      Deprecated.
      Builds the linke attribution Javascript
      Parameters:
      trackerPrefix - the name of the tracker that is using the link attribution
      Returns:
    • getDisplayAdvertisingJs

      protected String getDisplayAdvertisingJs(String trackerPrefix)
      Deprecated.
      Builds the display advertising Javascript for the given tracker
      Parameters:
      trackerPrefix -
      Returns:
    • getTransactionJs

      protected String getTransactionJs(org.broadleafcommerce.core.order.domain.Order order, String trackerPrefix)
      Deprecated.
      Builds the transaction analytics for the given tracker name. Invokes for each item in the given <b>order</b>.
    • getItemJs

      protected String getItemJs(org.broadleafcommerce.core.order.domain.Order order, String trackerPrefix)
      Deprecated.
    • getVariation

      protected String getVariation(org.broadleafcommerce.core.order.domain.OrderItem item)
      Deprecated.
      Returns the product option values separated by a space if they are relevant for the item, or the product category if no options are available
      Returns:
    • getMasterWebPropertyId

      public String getMasterWebPropertyId()
      Deprecated.
    • setMasterWebPropertyId

      public void setMasterWebPropertyId(String masterWebPropertyId)
      Deprecated.
    • getAffiliation

      public String getAffiliation()
      Deprecated.
    • getWebPropertyId

      public String getWebPropertyId()
      Deprecated.
    • isIncludeLinkAttribution

      public boolean isIncludeLinkAttribution()
      Deprecated.
    • isIncludeDisplayAdvertising

      public boolean isIncludeDisplayAdvertising()
      Deprecated.