Example HTML and JavaScript code for using Profiles API.
The Profiles API allows you to dynamically change your content based on detailed customer information.
This REST API returns customer data in real-time and updates your segment information. You can also use Profiles API to personalize your customers experience on your website. You can combine Treasure Data’s personalization feature with A/B Testing tools (such as Adobe Target, Optimizely, Google Optimize) to determine the version of your website that yields the best results.
This Treasure Box is a demonstration of how to use Profiles API from HTML and JavaScript.