Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

decodeTrackingLinks

Converts all links found in the given content back to normal links methods.

The mailing is not altered in any way. See also encodeTrackingLinks.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
contentStringContent of the mailing (HTML content or text)
mimeTypeStringMIME type of the mailing (text/plain or text/html)

The content will be treated as this MIME type.

Return values

Content with all tracking links replaced by their corresponding normal links

Code structure

String decodeTrackingLinks(String sessionId, long mailingId, String content, String mimeType)