Click or drag to resize

EventHit Class

Inheritance Hierarchy

Namespace:  NetQuarry.Services.GoogleAnalytics
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class EventHit : MeasurementProtocolPayload

The EventHit type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAction
The stage of the event - 'complete', 'start'
Public propertyCampaign
The campaign name, corresponding to the cn parameter.
Public propertyCategory
Category of the event - register, rsvp, order-match, event-match, profile-setup
Public propertyClientID
Gets/Sets the client identifier, typically the UserGUID value.
(Inherited from MeasurementProtocolPayload.)
Public propertyContent
The campaign content, corresponding to the cc parameter.
Public propertyDocumentReferer
The document referrer, corresponding to the dr parameter.
Public propertyGCLID
The Google Ads ID, corresponding to the gclid parameter.
Public propertyLabel
The event label from the el parameter.
Public propertyMedium
The campaign medium, corresponding to the cm parameter.
Public propertySource
The campaign source, corresponding to the cs parameter.
Public propertyTerm
The campaign keyword, corresponding to the ck parameter.
Public propertyValue
The event value dimension.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPostData
POST an event to Google Analytics v=1 // Version. tid=UA-2337392-21 // Tracking ID / Property ID. cid=555 // Anonymous Client ID - user_guid t=event // Event hit type ec=register // Event Category. (Required) - category - e.g. register, rsvp, order-match, event-match (register) ea=finish // Event Action. (Required) - name of the action (register -> complete) el=chla // Event label - account.moniker for the source account (register -> complete -> chla) ev= // Event value - the number of times this event has been fired (register -> complete -> chla -> 1) cm= // Campaign (utm_campaign) cs= // Source (utm_source)
(Overrides MeasurementProtocolPayloadGetPostData.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also