Click or drag to resize

AnalyticsLinkClickArgs Class

Provides information about the link being clicked
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Analytics.NotificationsAnalyticsLinkClickArgs

Namespace:  Dynamicweb.Analytics.Notifications
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public class LinkClickArgs : NotificationArgs

The AnalyticsLinkClickArgs type exposes the following members.

Constructors
  NameDescription
Public methodAnalyticsLinkClickArgs
Initializes a new instance of the AnalyticsLinkClickArgs class
Top
Properties
  NameDescription
Public propertyAdditionalParameters
Gets or sets the collection of additional parameters that were passed with the link.
Public propertyClickerKey
Gets or sets the clicker key.
Public propertyLink
Gets or sets the Link that was clicked.
Public propertyLinkID
Gets or sets the link ID.
Top
Examples
C#
using Dynamicweb.Extensibility.Notifications;
using AnalyticsNotifications = Dynamicweb.Analytics.Notifications.Analytics;

namespace Dynamicweb.Analytics.Examples.Notifications
{
    [Subscribe(AnalyticsNotifications.OnLinkClick)]
    public class OnUserClickEMailLink : NotificationSubscriber
    {
        public override void OnNotify(string notification, NotificationArgs args)
        {
            AnalyticsNotifications.LinkClickArgs emailLinkArgs = args as AnalyticsNotifications.LinkClickArgs;
            //Add code here
        }
    }
}
See Also