Click or drag to resize

EventHit Constructor (String, String, String, Int32, String, String, String, String, String, String, String, String)

Creates a EventHit class

Namespace:  NetQuarry.Services.GoogleAnalytics
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public EventHit(
	string clientID,
	string category,
	string action = "complete",
	int eventValue = 0,
	string campaign = null,
	string medium = null,
	string source = null,
	string gclid = null,
	string documentReferer = null,
	string content = null,
	string term = null,
	string label = null
)

Parameters

clientID
Type: SystemString
The user_guid value. We can't use the application because it may be the register application.
category
Type: SystemString
The event category - should be 'register', 'event-match', 'order-match', 'rsvp', 'profile-setup'
action (Optional)
Type: SystemString
Typically the status of the event - 'complete' is the default
eventValue (Optional)
Type: SystemInt32
The value on the event. Has to be an integer. Used only in the percent complete.
campaign (Optional)
Type: SystemString
The campaign name (cn).
medium (Optional)
Type: SystemString
The campaign medium (cm).
source (Optional)
Type: SystemString
The campaign source (cs).
gclid (Optional)
Type: SystemString
The Google Ads ID (gclid).
documentReferer (Optional)
Type: SystemString
The document referrer (dr).
content (Optional)
Type: SystemString
The campaign content (cc).
term (Optional)
Type: SystemString
The campaign keyword (ck).
label (Optional)
Type: SystemString
The event label (el).
See Also