Skip to main content

browser-tracker.trackercore.setlang

Home > @snowplow/browser-tracker > TrackerCore > setLang

TrackerCore.setLang() method

Set the language

Signature:
setLang(lang: string): void;

Parameters

ParameterTypeDescription
langstringA language string e.g. 'en-UK'
Returns:

void