Click or drag to resize
LinkTracker Class
Tracks subscribers who clicked on a link in a newsletter issue.
Inheritance Hierarchy
SystemObject
  CMS.NewslettersLinkTracker

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax
C#
public class LinkTracker : IHttpHandler

The LinkTracker type exposes the following members.

Constructors
  NameDescription
Public methodLinkTracker
Top
Properties
  NameDescription
Protected propertyEmail
Gets email from query string parameter.
Protected propertyHash
Gets hash from query string parameter.
Public propertyIsReusable
Gets whether this handler can be reused for other request; always returns true.
Protected propertyLinkGuid
Gets link GUID from query string parameter.
Protected propertyPing
Gets ping from query string parameter.
Top
Methods
  NameDescription
Protected methodGetLinkUrl
Retrieves the original URL given the arguments and logs the request.
Public methodProcessRequest(HttpContext)
Processes the tracking data and redirects request to original URL.
Protected methodProcessRequest(HttpContextBase)
Processes the tracking data and redirects request to original URL.
Top
Remarks
Handles all modified links that were converted to the tracking ones via ConvertToTracking(String, IssueInfo, NewsletterInfo, SiteInfo, String). Besides guids related to the email, every link has subscriber's email and its salted hash, which is used to validate the link. Emails sent prior to version 9 won't be logging contact activities, nor set up Online marketing context. A redirect to the original URL is sent in the response.
See Also