Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Activates or deactivates click tracking for a mailing of a specific MIME type (click tracking is set separately for the two MIME types) in Optimizely Campaign. Open tracking only affects content of the MIME type text/html.

Type: void


sessionIdStringID of the session
mailingIdlongID of the mailing
mimeTypeStringMIME type (text/plain or text/html) of the mailing.
  • true: Activates click tracking for the mailing
  • false: Deactivates click tracking for the mailing
  • Return values

    • Code structure

      void setClickTrackingEnabled(String sessionId, long mailingId, String mimeType, boolean enabled)