public class GAXsltHelper extends Object implements Serviceable
| Modifier and Type | Field and Description |
|---|---|
private static GAUriBuilder |
_gaUriBuilder |
| Constructor and Description |
|---|
GAXsltHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encode(String value)
Encode a value to use as an identifier component.
|
static String |
eventGifUri(String gaWebId,
String eventIdentifier)
Get an event GIF URI.
|
static String |
eventGifUri(String gaWebId,
String category,
String action,
String label)
Get an event GIF URI.
|
static String |
eventGifUri(String gaWebId,
String category,
String action,
String label,
int value)
Get an event GIF URI.
|
static String |
eventGifUri(String gaWebId,
String category,
String action,
String label,
int value,
boolean nonInteraction)
Get an event GIF URI.
|
void |
service(ServiceManager manager) |
private static GAUriBuilder _gaUriBuilder
public GAXsltHelper()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic static String eventGifUri(String gaWebId, String category, String action, String label)
gaWebId - the GA web ID.category - the event category.action - the event action.label - the event label.public static String eventGifUri(String gaWebId, String category, String action, String label, int value)
gaWebId - the GA web ID.category - the event category.action - the event action.label - the event label.value - the event value.public static String eventGifUri(String gaWebId, String category, String action, String label, int value, boolean nonInteraction)
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.public static String eventGifUri(String gaWebId, String eventIdentifier)
gaWebId - the GA web ID.eventIdentifier - the event identifier.