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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeprecated.Global value, intentionally only retrieved as a file property NOT via the system properties serviceprotected OrderServiceDeprecated.protected booleanDeprecated.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 GoogleFields inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
DEFAULT_PRECEDENCE, DEFAULT_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.protected StringgetDisplayAdvertisingJs(String trackerPrefix) Deprecated.Builds the display advertising Javascript for the given trackerprotected StringDeprecated.protected StringgetLinkAttributionJs(String trackerPrefix) Deprecated.Builds the linke attribution JavascriptDeprecated.getName()Deprecated.intDeprecated.org.broadleafcommerce.presentation.model.BroadleafTemplateModelgetReplacementModel(String tagName, Map<String, String> tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Deprecated.Deprecated.Grabs a map of trackers keyed by the tracker name with the analytics ID as the valueprotected StringgetTransactionJs(Order order, String trackerPrefix) Deprecated.Builds the transaction analytics for the given tracker name.protected StringgetVariation(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 availableDeprecated.booleanDeprecated.booleanDeprecated.voidsetMasterWebPropertyId(String masterWebPropertyId) Deprecated.protected booleanDeprecated.Methods inherited from class org.broadleafcommerce.presentation.dialect.AbstractBroadleafTagReplacementProcessor
getPrefix, replacementNeedsProcessing
-
Field Details
-
masterWebPropertyId
Deprecated.Global value, intentionally only retrieved as a file property NOT via the system properties service -
orderService
Deprecated. -
testLocal
@Value("${googleAnalytics.testLocal}") protected boolean testLocalDeprecated.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
Deprecated. -
getPrecedence
public int getPrecedence()Deprecated.- Specified by:
getPrecedencein interfaceorg.broadleafcommerce.presentation.dialect.BroadleafProcessor- Overrides:
getPrecedencein classorg.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
Deprecated.Grabs a map of trackers keyed by the tracker name with the analytics ID as the value -
shouldShowMasterTracker
protected boolean shouldShowMasterTracker()Deprecated. -
getLinkAttributionJs
Deprecated.Builds the linke attribution Javascript- Parameters:
trackerPrefix- the name of the tracker that is using the link attribution- Returns:
-
getDisplayAdvertisingJs
Deprecated.Builds the display advertising Javascript for the given tracker- Parameters:
trackerPrefix-- Returns:
-
getTransactionJs
Deprecated.Builds the transaction analytics for the given tracker name. Invokesfor each item in the given <b>order</b>. -
getItemJs
Deprecated. -
getVariation
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
Deprecated. -
setMasterWebPropertyId
Deprecated. -
getAffiliation
Deprecated. -
getWebPropertyId
Deprecated. -
isIncludeLinkAttribution
public boolean isIncludeLinkAttribution()Deprecated. -
isIncludeDisplayAdvertising
public boolean isIncludeDisplayAdvertising()Deprecated.
-
GoogleAnalytics4Processorinstead