Package org.ametys.web.analytics
Class EmptyAnalyticsProvider
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.analytics.AbstractWebAnalyticsProvider
org.ametys.web.analytics.EmptyAnalyticsProvider
- All Implemented Interfaces:
LogEnabled,PluginAware,WebAnalyticsProvider,Configurable
The empty analytics provider if there is no chosen web analytics provider
-
Field Summary
Fields inherited from class org.ametys.web.analytics.AbstractWebAnalyticsProvider
_id, _label, _pluginName, _xsltPath, RANDOM_NUMBER_TOKEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEventImageUri(Site site, String category, String action, String label, int value, boolean usePlaceholderTokens) Get the event image URIgetEventLinkCampaignParams(Site site, String campaign, String medium, String source) Get the event link campaign paramsMethods inherited from class org.ametys.web.analytics.AbstractWebAnalyticsProvider
_encodeValue, configure, getId, getLabel, getXSLTPath, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
EmptyAnalyticsProvider
public EmptyAnalyticsProvider()
-
-
Method Details
-
getEventImageUri
public String getEventImageUri(Site site, String category, String action, String label, int value, boolean usePlaceholderTokens) Description copied from interface:WebAnalyticsProviderGet the event image URI- Parameters:
site- the sitecategory- the event categoryaction- the event actionlabel- the event labelvalue- the event valueusePlaceholderTokens-trueto use placeholder tokens in the URI- Returns:
- the event image URI
-
getEventLinkCampaignParams
Description copied from interface:WebAnalyticsProviderGet the event link campaign params- Parameters:
site- the sitecampaign- the event campaignmedium- the event mediumsource- the event source- Returns:
- the event link campaign params
-