Class WebAnalyticsXsltHelper

java.lang.Object
org.ametys.plugins.newsletter.analytics.WebAnalyticsXsltHelper
All Implemented Interfaces:
Serviceable

public class WebAnalyticsXsltHelper extends Object implements Serviceable
Helper which provides web analytics URI building.
  • Constructor Details

  • Method Details

    • service

      public void service(ServiceManager manager) throws ServiceException
      Specified by:
      service in interface Serviceable
      Throws:
      ServiceException
    • eventImageUri

      public static String eventImageUri(String siteName, String category, String action, String label)
      Get an event image URI.
      Parameters:
      siteName - the site name
      category - the event category.
      action - the event action.
      label - the event label.
      Returns:
      the event image URI.
    • eventImageUri

      public static String eventImageUri(String siteName, String category, String action, String label, int value)
      Get an event image URI.
      Parameters:
      siteName - the site name
      category - the event category.
      action - the event action.
      label - the event label.
      value - the event value.
      Returns:
      the event image URI.
    • eventLinkCampaignParams

      public static String eventLinkCampaignParams(String siteName, String campaign, String medium, String source)
      Get an event link campaign params
      Parameters:
      siteName - the site name
      campaign - the event campaign
      medium - the event medium
      source - the event source
      Returns:
      the event link campaign params