Class CampaignLinkClickedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a link in a campaign email is clicked.
public sealed record CampaignLinkClickedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<CampaignLinkClickedEvent>
- Inheritance
-
CampaignLinkClickedEvent
- Implements
- Inherited Members
Constructors
CampaignLinkClickedEvent(string, string, string, string, DateTimeOffset, string?)
Integration event raised when a link in a campaign email is clicked.
public CampaignLinkClickedEvent(string CampaignId, string SubscriberId, string Email, string LinkUrl, DateTimeOffset ClickedAt, string? IpAddress)
Parameters
CampaignIdstringThe unique identifier of the campaign.
SubscriberIdstringThe unique identifier of the subscriber.
EmailstringThe subscriber's email address.
LinkUrlstringThe URL of the clicked link.
ClickedAtDateTimeOffsetThe timestamp when the link was clicked.
IpAddressstringThe IP address from which the link was clicked.
Properties
CampaignId
The unique identifier of the campaign.
public string CampaignId { get; init; }
Property Value
ClickedAt
The timestamp when the link was clicked.
public DateTimeOffset ClickedAt { get; init; }
Property Value
The subscriber's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
IpAddress
The IP address from which the link was clicked.
public string? IpAddress { get; init; }
Property Value
LinkUrl
The URL of the clicked link.
public string LinkUrl { get; init; }
Property Value
SubscriberId
The unique identifier of the subscriber.
public string SubscriberId { get; init; }