getLocale
Queries the locale of a session in Optimizely Campaign.
Type: String
Parameters
Name | Type | Value |
---|---|---|
sessionId | String | ID of the session |
Return values
Valid ISO language code (ISO-639)
See: http://www.loc.gov/standards/iso639-2/php/code_list.php.
Code structure
String getLocale(String sessionId)
Updated almost 3 years ago
Next