JUMP TOJavascript APIJavascript API documentationTracking audiences and goalsIdentifying visitorsUpdating a profileGetting the visitor IDInserting dynamic contentSetting a keyRetrieving a keyList of Unless propertiesLaunching a ComponentStart a chatTracking consentOpting inOpting outListening for eventsContent Security Policy (CSP)REST APIUnless REST API documentationAuthorizationAuthorize userRequest tokensCall APIRefresh tokensContacts APIImporting contactspostAISending a questionpostSending feedbackpostSummarizationpostSimilaritypostPowered by Opting inSample code JavaScriptTxt.optInTracking() This function opts you in to tracking. JavaScriptTxt.optInTracking()