Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Docs for elevio on segment

Getting Started

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.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 $ ?>', {
  email: '<?php echo $ ?>',
  name: '<?php echo $ ?>',
  plan: '<?php echo $current_user.plan ?>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment