EventHit Class |
Namespace: NetQuarry.Services.GoogleAnalytics
The EventHit type exposes the following members.
Name | Description | |
---|---|---|
![]() | EventHit |
Creates an empty version of the object
|
![]() | EventHit(String, String, String, Int32, String, String, String, String, String, String, String, String) |
Creates a EventHit class
|
Name | Description | |
---|---|---|
![]() | Action |
The stage of the event - 'complete', 'start'
|
![]() | Campaign | The campaign name, corresponding to the cn parameter. |
![]() | Category |
Category of the event - register, rsvp, order-match, event-match, profile-setup
|
![]() | ClientID |
Gets/Sets the client identifier, typically the UserGUID value.
(Inherited from MeasurementProtocolPayload.) |
![]() | Content | The campaign content, corresponding to the cc parameter. |
![]() | DocumentReferer | The document referrer, corresponding to the dr parameter. |
![]() | GCLID | The Google Ads ID, corresponding to the gclid parameter. |
![]() | Label |
The event label from the el parameter.
|
![]() | Medium | The campaign medium, corresponding to the cm parameter. |
![]() | Source | The campaign source, corresponding to the cs parameter. |
![]() | Term | The campaign keyword, corresponding to the ck parameter. |
![]() | Value |
The event value dimension.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPostData |
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.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | EqualValue |
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.) |