Package com.mypurecloud.sdk.v2.model
Class WebEventResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.WebEventResponse
- All Implemented Interfaces:
Serializable
WebEventResponse
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, CustomEventAttribute> attributes) User-defined attributes associated with a particular event.authenticated(Boolean authenticated) Indicates whether the event was produced during an authenticated session.browser(WebEventBrowser browser) Customer's browser.createdDate(Date createdDate) UTC timestamp indicating when the event actually took place, events older than an hour will be rejected.customerId(String customerId) Identifier of the customer in the source of the event.customerIdType(String customerIdType) Type of identifier for the customer ID (e.g., cookie).device(WebEventDevice device) Customer's device.booleanRepresents the action the customer performed.externalId(String externalId) An external identifier for the customer.geolocation(JourneyGeolocation geolocation) Customer's geolocation.getPage()inthashCode()ipOrganization(String ipOrganization) Customer's IP-based organization or ISP name.mktCampaign(JourneyCampaign mktCampaign) Urchin Tracking Module (UTM) parameters used to track the effectiveness of online marketing campaigns.page(ResponsePage page) The webpage where the user interaction occurred.Identifies the web page that originally generated the request for the current page being viewed.searchQuery(String searchQuery) Represents the keywords in a customer search query.session(WebEventResponseSession session) The session that the event belongs to.voidsetAttributes(Map<String, CustomEventAttribute> attributes) voidsetAuthenticated(Boolean authenticated) voidsetBrowser(WebEventBrowser browser) voidsetCreatedDate(Date createdDate) voidsetCustomerId(String customerId) voidsetCustomerIdType(String customerIdType) voidsetDevice(WebEventDevice device) voidsetEventName(String eventName) voidsetExternalId(String externalId) voidsetGeolocation(JourneyGeolocation geolocation) voidsetIpOrganization(String ipOrganization) voidsetMktCampaign(JourneyCampaign mktCampaign) voidsetPage(ResponsePage page) voidsetReferrer(Referrer referrer) voidsetSearchQuery(String searchQuery) voidsetSession(WebEventResponseSession session) voidsetTraits(Map<String, CustomEventAttribute> traits) voidsetUserAgentString(String userAgentString) toString()traits(Map<String, CustomEventAttribute> traits) Traits are attributes intrinsic to the customer that may be sent in selected events, (e.g. email, givenName, cellPhone).userAgentString(String userAgentString) HTTP User-Agent string (see https://tools.ietf.org/html/rfc1945#section-10.15).
-
Constructor Details
-
WebEventResponse
public WebEventResponse() -
WebEventResponse
-
-
Method Details
-
customerId
Identifier of the customer in the source of the event. -
getCustomerId
-
setCustomerId
-
eventName
Represents the action the customer performed. Event types are created for each unique event name and can be faceted on in segment and outcome conditions. A valid event name must only contain alphanumeric characters and underscores. A good event name is typically an object followed by the action performed in past tense, e.g. page_viewed, order_completed, user_registered. -
getEventName
-
setEventName
-
customerIdType
Type of identifier for the customer ID (e.g., cookie). -
getCustomerIdType
-
setCustomerIdType
-
page
The webpage where the user interaction occurred. -
getPage
-
setPage
-
userAgentString
HTTP User-Agent string (see https://tools.ietf.org/html/rfc1945#section-10.15). -
getUserAgentString
-
setUserAgentString
-
browser
Customer's browser. -
getBrowser
-
setBrowser
-
device
Customer's device. -
getDevice
-
setDevice
-
searchQuery
Represents the keywords in a customer search query. -
getSearchQuery
-
setSearchQuery
-
ipOrganization
Customer's IP-based organization or ISP name. -
getIpOrganization
-
setIpOrganization
-
geolocation
Customer's geolocation. -
getGeolocation
-
setGeolocation
-
mktCampaign
Urchin Tracking Module (UTM) parameters used to track the effectiveness of online marketing campaigns. -
getMktCampaign
-
setMktCampaign
-
session
The session that the event belongs to. -
getSession
-
setSession
-
referrer
Identifies the web page that originally generated the request for the current page being viewed. -
getReferrer
-
setReferrer
-
attributes
User-defined attributes associated with a particular event. These attributes provide additional context about the event. For example, items_in_cart or subscription_level. -
getAttributes
-
setAttributes
-
traits
Traits are attributes intrinsic to the customer that may be sent in selected events, (e.g. email, givenName, cellPhone). Traits are used to collect information for identity resolution. For example, the same person might be using an application on different devices which might create two sessions with different customerIds. Additional information can be provided as traits to help link those two sessions and customers to a single external contact through common identifiers that were submitted via a form fill, message, or other input in both sessions. -
getTraits
-
setTraits
-
authenticated
Indicates whether the event was produced during an authenticated session. -
getAuthenticated
-
setAuthenticated
-
externalId
An external identifier for the customer. -
getExternalId
-
setExternalId
-
createdDate
UTC timestamp indicating when the event actually took place, events older than an hour will be rejected. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getCreatedDate
-
setCreatedDate
-
equals
-
hashCode
public int hashCode() -
toString
-