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

isClickTrackingEnabled

Queries whether click tracking is activated for a mailing in Optimizely Campaign.

The method must be invoked separately for each MIME type.

Type: boolean

Parameters

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

Return values

  • true: Click tracking is activated
  • false: Click tracking is deactivated

Code structure

boolean isClickTrackingEnabled(String sessionId, long mailingId, String mimeType)