JUMP TOJavascript APIJavascript API documentationIdentifying visitorsUpdating a profileOpen the AI componentLaunching a web componentTracking consentOpting inOpting outGetting the visitor IDTracking audiences by eventInserting dynamic contentSetting a keyRetrieving a keyList of Unless propertiesListening for eventsContent Security Policy (CSP)REST APIAISending a questionpostSending feedbackpostSummarizationpostSimilaritypostPowered by Opting inSample code This function opts you in to tracking. JavaScriptTxt.optInTracking()