trait Event extends ThriftStruct with scala.Product with HasThriftStructCodec3[Event] with Serializable
Prefer the companion object's ophan.thrift.event.Event.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- Event
- Serializable
- HasThriftStructCodec3
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
ab: Option[AbTestInfo]
If populated, this event includes data about ab tests that the user was a member of
-
abstract
def
acquisition: Option[Acquisition]
Acquisition of one of our current products, eg Contribution, Membership, Reccuring Contribution
-
abstract
def
ads: Option[AdInfo]
If populated, this event includes advertising-related information
-
abstract
def
altIds: Option[AltIds]
Various other identifiers we may have to identify this user.
-
abstract
def
attention: Option[AttentionTime]
If populated, this event includes attention time data.
If populated, this event includes attention time data. Note this will also be populated, typically with a value of zero, alongside a pageView value for page views generated by platforms that support attention time tracking.
-
abstract
def
browserId: AssignedId
The unqiue id associated with this browser.
The unqiue id associated with this browser. Currently this is maintained by setting a cookie for web events, or otherwise determined for native apps.
-
abstract
def
componentEvent: Option[ComponentEvent]
An event relating to a component e.g.
An event relating to a component e.g. a user clicking on the contribution CTA of an Epic component e.g. an Atom component being inserted into a page
-
abstract
def
dt: Long
The date time (in millis since epoch UTC) at which this event occurred.
-
abstract
def
inPageClick: Option[InPageClick]
If populated, this event includes data about a click that did not result in a page transition
-
abstract
def
inPrivateBrowsingMode: Option[Boolean]
Is this browser in private browsing mode?
Is this browser in private browsing mode?
i.e. incognito mode in Google Chrome = true
-
abstract
def
interaction: Option[Interaction]
If populated, includes data about in-page interactions.
-
abstract
def
ipConnectivity: Option[IpConnectivity]
If populated, includes data about IPv6 connectivity
-
abstract
def
lazyComponents: Option[LazyComponents]
If populated, this event includes data about components that were lazily loaded.
-
abstract
def
media: Option[MediaPlayback]
If populated, this event includes data about media playback
-
abstract
def
outbrain: Option[Outbrain]
If populated, indicates which Outbrain widget appeared on a page
-
abstract
def
pageView: Option[PageView]
If populated, this event represents a page view.
-
abstract
def
pageViewId: String
The page view for which this event is associated.
The page view for which this event is associated. Ophan may send multiple events relating to the same page view, which may contain updates to any previously supplied data or new data. You should treat the one with the highest timestamp (dt) as the most accurate.
-
abstract
def
perf: Option[WebPerformanceData]
If populated, this event includes web performance load information
-
abstract
def
quizEvent: Option[QuizEvent]
If populated, this event includes data about a quiz event.
-
abstract
def
receivedDt: Long
The date time (in millis since epoc UTC) at which this event was received by ophan for processing.
The date time (in millis since epoc UTC) at which this event was received by ophan for processing. For web generated events, this is the same as dt. For native mobile app generated events, it might not be.
-
abstract
def
uniqueEventId: String
Gloablly unique id associated with this event.
Gloablly unique id associated with this event. Ophan never makes better than at-least-once delivery promises, so you must ensure that processing two events with the same uniqueEventId has no effect
-
abstract
def
userId: Option[String]
If the user is logged in, the identity user id.
If the user is logged in, the identity user id. *
-
abstract
def
visitId: Option[AssignedId]
The unique id associated with this "visit".
The unique id associated with this "visit". For web reports, the visit id is a refreshed session cookie that expires after 30 minutes of activity. Mobile apps do not currently set this value.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: String
- def _10: Option[AttentionTime]
- def _11: Option[AdInfo]
- def _12: Option[WebPerformanceData]
- def _13: Option[MediaPlayback]
- def _14: Option[AbTestInfo]
- def _15: Option[LazyComponents]
- def _16: Option[QuizEvent]
- def _17: Option[InPageClick]
- def _18: Option[Outbrain]
- def _19: Option[Interaction]
- def _2: Long
- def _20: Option[Boolean]
- def _21: Option[IpConnectivity]
- def _22: Option[Acquisition]
- def _23: Option[ComponentEvent]
- def _3: Long
- def _4: String
- def _5: AssignedId
- def _6: Option[AssignedId]
- def _7: Option[String]
- def _8: Option[AltIds]
- def _9: Option[PageView]
-
def
_codec: ThriftStructCodec3[Event]
- Definition Classes
- Event → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Event → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def copy(uniqueEventId: String = this.uniqueEventId, dt: Long = this.dt, receivedDt: Long = this.receivedDt, pageViewId: String = this.pageViewId, browserId: AssignedId = this.browserId, visitId: Option[AssignedId] = this.visitId, userId: Option[String] = this.userId, altIds: Option[AltIds] = this.altIds, pageView: Option[PageView] = this.pageView, attention: Option[AttentionTime] = this.attention, ads: Option[AdInfo] = this.ads, perf: Option[WebPerformanceData] = this.perf, media: Option[MediaPlayback] = this.media, ab: Option[AbTestInfo] = this.ab, lazyComponents: Option[LazyComponents] = this.lazyComponents, quizEvent: Option[QuizEvent] = this.quizEvent, inPageClick: Option[InPageClick] = this.inPageClick, outbrain: Option[Outbrain] = this.outbrain, interaction: Option[Interaction] = this.interaction, inPrivateBrowsingMode: Option[Boolean] = this.inPrivateBrowsingMode, ipConnectivity: Option[IpConnectivity] = this.ipConnectivity, acquisition: Option[Acquisition] = this.acquisition, componentEvent: Option[ComponentEvent] = this.componentEvent, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Event
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Event → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. -
def
hashCode(): Int
- Definition Classes
- Event → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
productArity: Int
- Definition Classes
- Event → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Event → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Event → Product
-
def
setField(_blob: TFieldBlob): Event
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Event → AnyRef → Any
- def unsetAb: Event
- def unsetAcquisition: Event
- def unsetAds: Event
- def unsetAltIds: Event
- def unsetAttention: Event
- def unsetBrowserId: Event
- def unsetComponentEvent: Event
- def unsetDt: Event
-
def
unsetField(_fieldId: Short): Event
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- def unsetInPageClick: Event
- def unsetInPrivateBrowsingMode: Event
- def unsetInteraction: Event
- def unsetIpConnectivity: Event
- def unsetLazyComponents: Event
- def unsetMedia: Event
- def unsetOutbrain: Event
- def unsetPageView: Event
- def unsetPageViewId: Event
- def unsetPerf: Event
- def unsetQuizEvent: Event
- def unsetReceivedDt: Event
-
def
unsetUniqueEventId: Event
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- def unsetUserId: Event
- def unsetVisitId: Event
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- Event → ThriftStruct