For an overview of how the Chameleon API works, please first read this article.

You can send default Chameleon data to other tools or to your database, with a simple API method. 

For example, you can send the Chameleon "Percentage value" to your database / analytics solution, using a script like the below (with examples for Segment and Mixpanel):

chmln.on('after:profile', function() {
  // Now you have full access to chmln.data.profile
 
  var percent = chmln.data.profile.get('percent'));
  // Segment.com
  // analytics.identify({chameleon_testing_id: percent})

  // Mixpanel
  // mixpanel.people.set({chameleon_testing_id: percent})
})

You can easily adapt this based on where you'd like to send this data in your system.

Did this answer your question?