Table of Contents

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

CampaignId string

The unique identifier of the campaign.

SubscriberId string

The unique identifier of the subscriber.

Email string

The subscriber's email address.

LinkUrl string

The URL of the clicked link.

ClickedAt DateTimeOffset

The timestamp when the link was clicked.

IpAddress string

The IP address from which the link was clicked.

Properties

CampaignId

The unique identifier of the campaign.

public string CampaignId { get; init; }

Property Value

string

ClickedAt

The timestamp when the link was clicked.

public DateTimeOffset ClickedAt { get; init; }

Property Value

DateTimeOffset

Email

The subscriber's email address.

public string Email { get; init; }

Property Value

string

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

IpAddress

The IP address from which the link was clicked.

public string? IpAddress { get; init; }

Property Value

string

LinkUrl

The URL of the clicked link.

public string LinkUrl { get; init; }

Property Value

string

SubscriberId

The unique identifier of the subscriber.

public string SubscriberId { get; init; }

Property Value

string