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
)
Public Sub New (
clientID As String,
category As String,
Optional action As String = "complete",
Optional eventValue As Integer = 0,
Optional campaign As String = Nothing,
Optional medium As String = Nothing,
Optional source As String = Nothing,
Optional gclid As String = Nothing,
Optional documentReferer As String = Nothing,
Optional content As String = Nothing,
Optional term As String = Nothing,
Optional label As String = Nothing
)
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