Package org.ametys.web.analytics
Interface WebAnalyticsProvider
- All Known Implementing Classes:
AbstractWebAnalyticsProvider
,GoogleAnalyticsProvider
,MatomoAnalyticsProvider
public interface WebAnalyticsProvider
Web analytics provider interface
-
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 paramsgetId()
Get the id of the providergetLabel()
Get the label of the provider
-
Method Details
-
getId
Get the id of the provider- Returns:
- the id
-
getLabel
Get the label of the provider- Returns:
- the label
-
getEventImageUri
String getEventImageUri(Site site, String category, String action, String label, int value, boolean usePlaceholderTokens) Get the event image URI- Parameters:
site
- the sitecategory
- the event categoryaction
- the event actionlabel
- the event labelvalue
- the event valueusePlaceholderTokens
-true
to use placeholder tokens in the URI- Returns:
- the event image URI
-
getEventLinkCampaignParams
Get the event link campaign params- Parameters:
site
- the sitecampaign
- the event campaignmedium
- the event mediumsource
- the event source- Returns:
- the event link campaign params
-