public class

KnowledgeUIAnalytics

extends Object
java.lang.Object
   ↳ com.salesforce.android.knowledge.ui.KnowledgeUIAnalytics

Class Overview

KnowledgeUIAnalytics contains identifying information for analytics data that is relayed via the com.salesforce.android.service.common.analytics.ServiceAnalytics API. Analytics data is communicated via the com.salesforce.android.service.common.analytics.ServiceAnalyticsListener interface with a Map object. Each map key is enumerated here to represent a behavior in the Knowledge UI and the type of its corresponding value is specified in documentation.

Analytics constants are prefixed with key words that identify what they represent:

Prefix Description
USER_ Events that are triggered as a result of user interaction with the Knowledge UI.
RESPONSE_ Events that are triggered as a response to user interaction with the Knowledge UI.
DATA_ Map Keys for the Event Data, which provide contextual information regarding an analytics event.

Summary

Constants
String DATA_ARTICLE_ID The unique identifier for a Knowledge Article.
String DATA_ARTICLE_TITLE The title of a Knowledge Article.
String DATA_CATEGORY_GROUP_NAME The Data Category Group Name that Knowledge has been configured with.
String DATA_CATEGORY_LABEL The display label for a Category.
String DATA_CATEGORY_NAME The unique name that identifies a Category.
String DATA_COMMUNITY_URL The Community URL that Knowledge has been configured with.
String DATA_IS_CORE_CLIENT_PROVIDED Whether or not a pre-initialized KnowledgeCore client instance has been provided to Knowledge UI by your application.
String DATA_IS_IMAGE_PROVIDER_PRESENT Whether or not a KnowledgeImageProvider implementation has been provided to Knowledge UI.
String DATA_KNOWLEDGE_FROM_SCENE The KnowledgeScene we are navigating away from.
String DATA_KNOWLEDGE_TO_SCENE The KnowledgeScene we are navigating into.
String DATA_ROOT_CATEGORY_NAME The Root Data Category Name that Knowledge UI has been configured with.
String DATA_SEARCH_TERM The search term that has been entered by the user.
String RESPONSE_CLOSED The Knowledge UI has been closed.
String RESPONSE_COLLAPSED_CATEGORY_HEADER A category summary on the Support Home view has been hidden.
String RESPONSE_EXPANDED_CATEGORY_HEADER A category summary on the Support Home view has been displayed.
String RESPONSE_INITIALIZED_CLIENT The Knowledge UI has been successfully initialized.
String RESPONSE_LAUNCHED The Knowledge UI has been launched.
String RESPONSE_LOADED_ARTICLE_DETAIL_VIEW The Article Detail view has been loaded and is displaying the content of a Knowledge Article.
String RESPONSE_LOADED_ARTICLE_LIST_VIEW The Article List view has been loaded.
String RESPONSE_LOADED_CATEGORY_DETAIL_VIEW The Category Detail view has been loaded.
String RESPONSE_LOADED_MORE_ARTICLES Additional articles have been loaded into the Article List view.
String RESPONSE_LOADED_SEARCH_RESULT Search results based on the user's query have been loaded into the Search View.
String RESPONSE_LOADED_SEARCH_VIEW The Search View has been loaded.
String RESPONSE_LOADED_SUPPORT_HOME_VIEW The Support Home view has been loaded and is displaying the categories at the top of the Root Category.
String RESPONSE_MAXIMIZED The previously minimized Knowledge article has been maximized.
String RESPONSE_MINIMIZED A Knowledge article has been minimized.
String USER_CLEAR_SEARCH_TERM The user has cleared the search term.
String USER_CLOSE The Knowledge UI has been requested to close.
String USER_INITIALIZE_CLIENT The Knowledge UI Client is now being initialized.
String USER_INPUT_SEARCH_TERM The user has entered or modified the search term.
String USER_LAUNCH The Knowledge UI has been requested to launchHome.
String USER_MAXIMIZE The user has requested to maximize the previously minimized article.
String USER_MINIMIZE The user has requested to minimize the current article.
String USER_MOVE_THUMBNAIL The user has moved the thumbnail.
String USER_NAVIGATE_BACK The user has navigated back by pressing the Back Button on the Android Navigation Bar or the App Toolbar.
String USER_SELECT_ARTICLE_DETAILS The user has chosen to view the details of an article.
String USER_SELECT_ARTICLE_LIST The user has chosen to view a list of articles within a category.
String USER_SELECT_CATEGORY_DETAIL The user has chosen to view more details about a category.
String USER_SELECT_CATEGORY_HEADER The user has selected a category header on the Support Home view.
String USER_SELECT_SEARCH_VIEW The user has chosen to load the Search view.
String USER_SHOW_MORE_ARTICLES The user has started loading more articles within the article list.
Public Constructors
KnowledgeUIAnalytics()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String DATA_ARTICLE_ID

The unique identifier for a Knowledge Article.

Constant Value: "KNOWLEDGE_UI_DATA_ARTICLE_ID"

public static final String DATA_ARTICLE_TITLE

The title of a Knowledge Article.

Constant Value: "KNOWLEDGE_UI_DATA_ARTICLE_TITLE"

public static final String DATA_CATEGORY_GROUP_NAME

The Data Category Group Name that Knowledge has been configured with.

Constant Value: "KNOWLEDGE_UI_DATA_CATEGORY_GROUP_NAME"

public static final String DATA_CATEGORY_LABEL

The display label for a Category.

Constant Value: "KNOWLEDGE_UI_DATA_CATEGORY_LABEL"

public static final String DATA_CATEGORY_NAME

The unique name that identifies a Category.

Constant Value: "KNOWLEDGE_UI_DATA_CATEGORY_NAME"

public static final String DATA_COMMUNITY_URL

The Community URL that Knowledge has been configured with.

Constant Value: "KNOWLEDGE_UI_DATA_COMMUNITY_URL"

public static final String DATA_IS_CORE_CLIENT_PROVIDED

Whether or not a pre-initialized KnowledgeCore client instance has been provided to Knowledge UI by your application.

Constant Value: "KNOWLEDGE_UI_DATA_IS_CORE_CLIENT_PROVIDED"

public static final String DATA_IS_IMAGE_PROVIDER_PRESENT

Whether or not a KnowledgeImageProvider implementation has been provided to Knowledge UI.

Constant Value: "KNOWLEDGE_UI_DATA_IS_IMAGE_PROVIDER_PRESENT"

public static final String DATA_KNOWLEDGE_FROM_SCENE

The KnowledgeScene we are navigating away from.

Constant Value: "KNOWLEDGE_UI_DATA_KNOWLEDGE_FROM_SCENE"

public static final String DATA_KNOWLEDGE_TO_SCENE

The KnowledgeScene we are navigating into.

Constant Value: "KNOWLEDGE_UI_DATA_KNOWLEDGE_TO_SCENE"

public static final String DATA_ROOT_CATEGORY_NAME

The Root Data Category Name that Knowledge UI has been configured with.

Constant Value: "KNOWLEDGE_UI_DATA_ROOT_CATEGORY_NAME"

public static final String DATA_SEARCH_TERM

The search term that has been entered by the user.

Constant Value: "KNOWLEDGE_UI_DATA_SEARCH_TERM"

public static final String RESPONSE_CLOSED

The Knowledge UI has been closed.

Constant Value: "KNOWLEDGE_UI_RESPONSE_CLOSED"

public static final String RESPONSE_COLLAPSED_CATEGORY_HEADER

A category summary on the Support Home view has been hidden.

Constant Value: "KNOWLEDGE_UI_RESPONSE_COLLAPSED_CATEGORY_HEADER"

public static final String RESPONSE_EXPANDED_CATEGORY_HEADER

A category summary on the Support Home view has been displayed.

Constant Value: "KNOWLEDGE_UI_RESPONSE_EXPANDED_CATEGORY_HEADER"

public static final String RESPONSE_INITIALIZED_CLIENT

The Knowledge UI has been successfully initialized.

Constant Value: "KNOWLEDGE_UI_RESPONSE_INITIALIZED_CLIENT"

public static final String RESPONSE_LAUNCHED

The Knowledge UI has been launched.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LAUNCHED"

public static final String RESPONSE_LOADED_ARTICLE_DETAIL_VIEW

The Article Detail view has been loaded and is displaying the content of a Knowledge Article.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_ARTICLE_DETAIL_VIEW"

public static final String RESPONSE_LOADED_ARTICLE_LIST_VIEW

The Article List view has been loaded.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_ARTICLE_LIST_VIEW"

public static final String RESPONSE_LOADED_CATEGORY_DETAIL_VIEW

The Category Detail view has been loaded.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_CATEGORY_DETAIL_VIEW"

public static final String RESPONSE_LOADED_MORE_ARTICLES

Additional articles have been loaded into the Article List view.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_MORE_ARTICLES"

public static final String RESPONSE_LOADED_SEARCH_RESULT

Search results based on the user's query have been loaded into the Search View.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_SEARCH_RESULT"

public static final String RESPONSE_LOADED_SEARCH_VIEW

The Search View has been loaded.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_SEARCH_VIEW"

public static final String RESPONSE_LOADED_SUPPORT_HOME_VIEW

The Support Home view has been loaded and is displaying the categories at the top of the Root Category.

Constant Value: "KNOWLEDGE_UI_RESPONSE_LOADED_SUPPORT_HOME_VIEW"

public static final String RESPONSE_MAXIMIZED

The previously minimized Knowledge article has been maximized.

Constant Value: "KNOWLEDGE_UI_RESPONSE_MAXIMIZED"

public static final String RESPONSE_MINIMIZED

A Knowledge article has been minimized.

Constant Value: "KNOWLEDGE_UI_RESPONSE_MINIMIZED"

public static final String USER_CLEAR_SEARCH_TERM

The user has cleared the search term.

Constant Value: "KNOWLEDGE_UI_USER_CLEAR_SEARCH_TERM"

public static final String USER_CLOSE

The Knowledge UI has been requested to close.

Constant Value: "KNOWLEDGE_UI_USER_CLOSE"

public static final String USER_INITIALIZE_CLIENT

The Knowledge UI Client is now being initialized.

Constant Value: "KNOWLEDGE_UI_USER_INITIALIZE_CLIENT"

public static final String USER_INPUT_SEARCH_TERM

The user has entered or modified the search term.

Constant Value: "KNOWLEDGE_UI_USER_INPUT_SEARCH_TERM"

public static final String USER_LAUNCH

The Knowledge UI has been requested to launchHome.

Constant Value: "KNOWLEDGE_UI_USER_LAUNCH"

public static final String USER_MAXIMIZE

The user has requested to maximize the previously minimized article.

Constant Value: "KNOWLEDGE_UI_USER_MAXIMIZE"

public static final String USER_MINIMIZE

The user has requested to minimize the current article.

Constant Value: "KNOWLEDGE_UI_USER_MINIMIZE"

public static final String USER_MOVE_THUMBNAIL

The user has moved the thumbnail.

Constant Value: "KNOWLEDGE_UI_USER_MOVE_THUMBNAIL"

public static final String USER_NAVIGATE_BACK

The user has navigated back by pressing the Back Button on the Android Navigation Bar or the App Toolbar.

Constant Value: "KNOWLEDGE_UI_USER_NAVIGATE_BACK"

public static final String USER_SELECT_ARTICLE_DETAILS

The user has chosen to view the details of an article.

Constant Value: "KNOWLEDGE_UI_USER_SELECT_ARTICLE_DETAILS"

public static final String USER_SELECT_ARTICLE_LIST

The user has chosen to view a list of articles within a category. This event may occur by pressing the "Show More" button on the Support Home view for a category that does not have any sub-categories, or by pressing the "Show More Articles" button on the Category Details view.

Constant Value: "KNOWLEDGE_UI_USER_SELECT_ARTICLE_LIST"

public static final String USER_SELECT_CATEGORY_DETAIL

The user has chosen to view more details about a category. This event may occur by pressing the "Show More" button on the Support Home view for a category that has sub-categories.

Constant Value: "KNOWLEDGE_UI_USER_SELECT_CATEGORY_DETAIL"

public static final String USER_SELECT_CATEGORY_HEADER

The user has selected a category header on the Support Home view.

Constant Value: "KNOWLEDGE_UI_USER_SELECT_CATEGORY_HEADER"

public static final String USER_SELECT_SEARCH_VIEW

The user has chosen to load the Search view.

Constant Value: "KNOWLEDGE_UI_USER_SELECT_SEARCH_VIEW"

public static final String USER_SHOW_MORE_ARTICLES

The user has started loading more articles within the article list.

Constant Value: "KNOWLEDGE_UI_USER_SHOW_MORE_ARTICLES"

Public Constructors

public KnowledgeUIAnalytics ()