Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

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

getCount

Counts all available target groups in Optimizely Campaign. Temporary target groups are excluded.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session

Return values

Number of all available target groups

Code structure

int getCount(String sessionId)