Click or drag to resize
LinkTrackerService Class
Tracks subscribers who clicked on a link in a newsletter issue.
Inheritance Hierarchy
SystemObject
  CMS.Routing.WebActionResultServiceBase
    CMS.NewslettersLinkTrackerService

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
public class LinkTrackerService : ActionResultServiceBase, 
	IActionResultService

The LinkTrackerService type exposes the following members.

Constructors
  NameDescription
Public methodLinkTrackerService
Initializes new instance of LinkTrackerService.
Top
Properties
  NameDescription
Protected propertyEmail
Gets email from query string parameter.
Protected propertyHash
Gets hash from query string parameter.
Protected propertyLinkGuid
Gets link GUID from query string parameter.
Protected propertyPing
Gets ping from query string parameter.
Protected propertyRequestStatusEnum
Gets current request URL rewriting status.
(Overrides ActionResultServiceBaseRequestStatusEnum.)
Top
Methods
  NameDescription
Protected methodETagsMatch
Checks if given and requested ETags match and object has current timestamp.
(Inherited from ActionResultServiceBase.)
Protected methodFileNotFound
Responds HTTP code 404 Not Found.
(Inherited from ActionResultServiceBase.)
Protected methodForbidden
Responds HTTP code 403 Forbidden.
(Inherited from ActionResultServiceBase.)
Public methodGetActionResult
Process the request.
(Inherited from ActionResultServiceBase.)
Protected methodGetActionResultInternal
Processes the tracking data and redirects request to original URL.
(Overrides ActionResultServiceBaseGetActionResultInternal.)
Protected methodGetIfModifiedSinceRequestHeader
Returns the value of If-Modified-Since HTTP header or if the header not found.
(Inherited from ActionResultServiceBase.)
Protected methodHasIfModifiedSinceRequestHeader
Returns when non-empty If-Modified-Since header is present in current request.
(Inherited from ActionResultServiceBase.)
Protected methodUnauthorized
Responds HTTP code 401 Unauthorized.
(Inherited from ActionResultServiceBase.)
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