Click or drag to resize

AnalyticsOnLinkClick Field

Occurs after a link click has been registered.

Namespace:  Dynamicweb.Analytics.Notifications
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public const string OnLinkClick = "AnalyticsOnLinkClick"

Field Value

Type: String
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