Class Ga4TagEvent
Represents an event sent the way a web page's Google tag (gtag.js) sends it.
public class Ga4TagEvent
- Inheritance
-
Ga4TagEvent
- Inherited Members
Properties
DocumentLocation
Gets the page's location, or null.
public string? DocumentLocation { get; init; }
Property Value
DocumentReferrer
Gets or sets the page's referrer, or null.
public string? DocumentReferrer { get; set; }
Property Value
DocumentTitle
Gets the page's title, or null.
public string? DocumentTitle { get; init; }
Property Value
EngagementTime
Gets the engagement time since the last event, in milliseconds, or null.
public long? EngagementTime { get; init; }
Property Value
- long?
EventName
Gets the event's name.
public required string EventName { get; init; }
Property Value
IsFirstVisit
Gets a value indicating whether this is the user's first visit.
public bool IsFirstVisit { get; init; }
Property Value
Properties
public Dictionary<string, object?> Properties { get; init; }