Area: Optimizely Campaign
Applies to versions: Not applicable


Recommended reading 

Queries the type of an opt-in process in Optimizely Campaign.

Type: String


Name Type Value



ID of the session



ID of the opt-in process

Return values

Type of the opt-in process:

  • single: The registration is confirmed and finished on a page of your website. The recipient is activated without further notification.
  • confirmed: The confirmation email with the recipient information will be sent to the email address of the recipient and the recipient is added to the recipient list.
  • double: A confirmation email with a confirmation link is sent to the recipient. Clicking this link finishes the opt-in process and activates the recipient.

Code structure

String getType(String sessionId, long optinProcessId)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 24, 2018

Recommended reading