Once you have Segment installed on your site, toggle elevio from your Segment integrations page, and add your account ID which you can find on your elevio widget settings page.
elevio supports the identify
method to provide extra user information.
When you call identify, we make use of the following information if it is provided.
traits.email
traits.name
traits.plan
Passing through the above optional information will allow you to use the elevio access control feature to display content to this user based on their email domain or plan (which we call a group).
Here is an example of passing all the above information:
analytics.identify('<?php echo $current_user.id ?>', {
email: '<?php echo $current_user.email ?>',
name: '<?php echo $current_user.name ?>',
plan: '<?php echo $current_user.plan ?>'
});