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


Activates or deactivates open tracking for a mailing in Optimizely Campaign. Open tracking only affects content of the MIME type text/html.

Type: void


sessionIdStringID of the session
mailingIdlongID of the mailing
enabledBoolean - true – Activates open tracking for the mailing.
- false – Deactivates open tracking for the mailing.

Return values

  • Code structure

    void setOpenTrackingEnabled(String sessionId, long mailingId, boolean enabled)