Class GAXsltHelper

    • Method Detail

      • eventGifUri

        public static String eventGifUri​(String gaWebId,
                                         String category,
                                         String action,
                                         String label)
        Get an event GIF URI.
        Parameters:
        gaWebId - the GA web ID.
        category - the event category.
        action - the event action.
        label - the event label.
        Returns:
        the event GIF URI.
      • eventGifUri

        public static String eventGifUri​(String gaWebId,
                                         String category,
                                         String action,
                                         String label,
                                         int value)
        Get an event GIF URI.
        Parameters:
        gaWebId - the GA web ID.
        category - the event category.
        action - the event action.
        label - the event label.
        value - the event value.
        Returns:
        the event GIF URI.
      • eventGifUri

        public static String eventGifUri​(String gaWebId,
                                         String category,
                                         String action,
                                         String label,
                                         int value,
                                         boolean nonInteraction)
        Get an event GIF URI.
        Parameters:
        gaWebId - the GA web ID.
        category - the event category.
        action - the event action.
        label - the event label.
        value - the event value.
        nonInteraction - true if the event does not trigger an interaction.
        Returns:
        the event GIF URI.
      • eventGifUri

        public static String eventGifUri​(String gaWebId,
                                         String eventIdentifier)
        Get an event GIF URI.
        Parameters:
        gaWebId - the GA web ID.
        eventIdentifier - the event identifier.
        Returns:
        the event GIF URI.
      • encode

        public static String encode​(String value)
        Encode a value to use as an identifier component.
        Parameters:
        value - the value to encode.
        Returns:
        the encoded value.