By identifying your users to Elevio, we can do the following:

  • Restrict articles and categories by:
    • email addresses
    • email domains
    • groups, e.g., 'gold plan' vs 'free plan'
  • Pre fill support form
  • Support ticket user diagnostics (groups and traits)
  • Load existing support tickets for the user

To enable this, pass through user information:

window._elev.on('load', function(_elev) {
  _elev.setUser({
    first_name: 'John',
    last_name: 'Doe',
    email: 'john@example.com',
    user_hash: '98aad46fd8124d2f8096fdfd2f56951850623403f683a6d85f795f96d3439b7d',
    registered_at: 1387259541000,
    groups: ['gold', 'silver'],
    traits: {
      Plan: 'Gold',
      'Monthly Spend': '$99'
    }
  });
}); 
Learn how to generate the user hash here.

John now has access to any articles or categories that have been restricted to users in the gold or silver group, their email address (john@example.com), or their email domain (example.com).

All fields are optional, unless you intend to show elevio only to logged in users, in which case an email is required.

When sending an email you MUST also send a matching user_hash
Click here to see how to generate the user hash