Jump to Content
API Reference
Log In
API Reference
Log In
API Reference
Opting in
Search
All
Pages
Start typing to search…
JUMP TO
Javascript API
Javascript API documentation
Identifying visitors
Updating a profile
Open the AI component
Launching a web component
Tracking consent
Opting in
Opting out
Getting the visitor ID
Tracking audiences by event
Inserting dynamic content
Setting a key
Retrieving a key
List of Unless properties
Listening for events
Content Security Policy (CSP)
REST API
AI
Sending a question
post
Sending feedback
post
Summarization
post
Similarity
post
Powered by
Opting in
Sample code
This function opts you in to tracking.
JavaScript
Txt.optInTracking()
Table of Contents
Sample code