HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getOpenCount

Counts the opens of a mailing in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
uniqueboolean
  • true: Double countings of recipients that opened the mailing several times are removed.
  • false: The overall number of opens is returned.
  • Return values

    Number of opens of the mailing

    Code structure

    int getOpenCount(String sessionId, long mailingId, boolean unique)
    

    Did this page help you?