Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

setProperty

Defines the value of a specific mailing property in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
NameStringName of the mailing property
ValueStringValue that has to be set

The value will be set as "as is"; i.e., no tracking link conversion etc. is done.

Return values

  • Code structure

    void setProperty(String sessionId, long mailingId, String name, String value)