The getTreatmentCode method returns the treatment code of the offer as defined in Campaign.
Because Campaign uses the treatment code to identify the instance of the offer served, this code must be returned as an event parameter when using the postEvent method to log a contact, acceptance, or rejection event of the offer. If you are logging an offer acceptance or rejection, you must set the name value of the NameValuePair representing the treatment code to UACIOfferTrackingCode.
The getTreatmentCode method returns a string.
The following example prints the treatment code of an offer.
IBM Unica Interact
8.5.0
|
Copyright IBM Corporation 2011. All Rights Reserved.
|
For more information, see our support and community site: Customer Central
|
|