Package com.mypurecloud.sdk.v2.model
Class WebEventRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.WebEventRequest
- All Implemented Interfaces:
Serializable
WebEventRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, CustomEventAttribute> attributes) User-defined attributes associated with a particular event.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.customerCookieId(String customerCookieId) A UUID representing the customer making the request.device(WebEventDevice device) Customer's device.booleanRepresents the action the customer performed.externalId(String externalId) An external identifier for the customer.getPage()inthashCode()Customer's IP address.page(RequestPage page) The webpage where the user interaction occurred.referrerUrl(String referrerUrl) Identifies the referrer URL that originally generated the request for the current page being viewed.searchQuery(String searchQuery) Represents the keywords in a customer search query.voidsetAttributes(Map<String, CustomEventAttribute> attributes) voidsetBrowser(WebEventBrowser browser) voidsetCreatedDate(Date createdDate) voidsetCustomerCookieId(String customerCookieId) voidsetDevice(WebEventDevice device) voidsetEventName(String eventName) voidsetExternalId(String externalId) voidsetIpAddress(String ipAddress) voidsetPage(RequestPage page) voidsetReferrerUrl(String referrerUrl) voidsetSearchQuery(String searchQuery) 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) Override for HTTP User-Agent string from request header (see https://tools.ietf.org/html/rfc1945#section-10.15).
-
Constructor Details
-
WebEventRequest
public WebEventRequest() -
WebEventRequest
-
-
Method Details
-
customerCookieId
A UUID representing the customer making the request. -
getCustomerCookieId
-
setCustomerCookieId
-
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
-
page
The webpage where the user interaction occurred. -
getPage
-
setPage
-
userAgentString
Override for HTTP User-Agent string from request header (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
-
ipAddress
Customer's IP address. -
getIpAddress
-
setIpAddress
-
referrerUrl
Identifies the referrer URL that originally generated the request for the current page being viewed. -
getReferrerUrl
-
setReferrerUrl
-
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
-
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
-