HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

setOpenTrackingEnabled

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

Type: void

Parameters

NameTypeValue
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)
      

    What’s Next
    Did this page help you?