Package com.mypurecloud.sdk.v2.model
Class WebEvent
java.lang.Object
com.mypurecloud.sdk.v2.model.WebEvent
- All Implemented Interfaces:
Serializable
WebEvent
- 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.Customer's browser.Customer's device.booleanRepresents the action the customer performed.geolocation(JourneyGeolocation geolocation) Customer's geolocation.getPage()inthashCode()Customer's IP address.ipOrganization(String ipOrganization) Customer's IP-based organization or ISP name.mktCampaign(JourneyCampaign mktCampaign) Marketing / traffic source information.page(JourneyPage page) The webpage where the user interaction occurred.Identifies the page 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) voidsetAuthenticated(Boolean authenticated) voidsetBrowser(Browser browser) voidvoidsetEventName(String eventName) voidsetGeolocation(JourneyGeolocation geolocation) voidsetIpAddress(String ipAddress) voidsetIpOrganization(String ipOrganization) voidsetMktCampaign(JourneyCampaign mktCampaign) voidsetPage(JourneyPage page) voidsetReferrer(Referrer referrer) voidsetSearchQuery(String searchQuery) voidsetTotalEventCount(Integer totalEventCount) voidsetTotalPageviewCount(Integer totalPageviewCount) voidsetTraits(Map<String, CustomEventAttribute> traits) voidsetUserAgentString(String userAgentString) toString()totalEventCount(Integer totalEventCount) The total count of events performed by the customer across all sessions.totalPageviewCount(Integer totalPageviewCount) The total count of pageviews performed by the customer across all sessions.traits(Map<String, CustomEventAttribute> traits) User-defined traits associated with a particular event.userAgentString(String userAgentString) HTTP User-Agent string (see https://tools.ietf.org/html/rfc1945#section-10.15).
-
Constructor Details
-
WebEvent
public WebEvent() -
WebEvent
-
-
Method Details
-
eventName
Represents the action the customer performed. 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
-
totalEventCount
The total count of events performed by the customer across all sessions. -
getTotalEventCount
-
setTotalEventCount
-
totalPageviewCount
The total count of pageviews performed by the customer across all sessions. -
getTotalPageviewCount
-
setTotalPageviewCount
-
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
-
geolocation
Customer's geolocation. -
getGeolocation
-
setGeolocation
-
ipAddress
Customer's IP address. May be null if the business configures the tracker to not collect IP addresses. -
getIpAddress
-
setIpAddress
-
ipOrganization
Customer's IP-based organization or ISP name. -
getIpOrganization
-
setIpOrganization
-
mktCampaign
Marketing / traffic source information. -
getMktCampaign
-
setMktCampaign
-
referrer
Identifies the page URL that originally generated the request for the current page being viewed. -
getReferrer
-
setReferrer
-
attributes
User-defined attributes associated with a particular event. -
getAttributes
-
setAttributes
-
traits
User-defined traits associated with a particular event. -
getTraits
-
setTraits
-
searchQuery
Represents the keywords in a customer search query. -
getSearchQuery
-
setSearchQuery
-
authenticated
Indicates whether the event was produced during an authenticated session. -
getAuthenticated
-
setAuthenticated
-
equals
-
hashCode
public int hashCode() -
toString
-