Segmentation allows you to expose specific courses to specific groups of users.
How does it work?
Strigo allows you to manage Learner Groups.
Each user can belong to as many groups as you want.
Each course and path can either be public or restricted to specific groups.
A user will eventually be exposed only to public courses/paths and courses/paths that are associated with one of the user's groups.
How to assign users to groups?
There are two ways:
You can upload a CSV file with a list of users and their groups.
When you identify a user using Strigo's API, you can also specify that user's groups.
Assign users to groups
The "Audience" page is where you manage your learners and groups. All of your learners, regardless of whether they're assigned to a group or not, will be shown there.
Upload a CSV
The first approach to assigning learners to groups is to upload a CSV file:
Go to the Audience page at the top bar.
Click "Add learners". You will then be prompted to upload a CSV (you can download the CSV template, modify it, and then upload it):
You should then see the learners you enrolled and their assigned groups on the main Audience page.
Note: We will soon be expanding the segmentation capabilities to support more than simply uploading a CSV.
Assign learner groups through the API
If you don't want to manually upload users, you can manage their groups in a seamless, automatic manner, as they are being identified in Strigo.
Learners appear in Strigo after you identify them, as explained here.
During the identification process, using the API, you can specify the groups each user belongs to. See how the identification API endpoint includes the "groups" property to allow that. Direct your engineer to send the groups for every user based on the logic you decide on. In the codebase, you practically have access to all user properties, so you can implement the logic of which groups a user belongs to based on whatever you want, and then send the eventual groups to Strigo using that API.
For example, let's say you want to assign a user to the Admins group if her role is "administrator". Here's what the code can look like:
if (user.role == "administrator"):
name: "Jane Doe",
This is how the user will then appear in Strigo:
Associate courses to learner groups
Courses and paths can either be:
Public - available to all learners.
Restricted - available only to users that belong to specified groups.
To restrict a course to specific groups of learners:
Go to the Academy page in Strigo.
Click the relevant course.
Under "Settings | Access", choose "Restricted".
Apply the relevant groups.
Save the course.
Note: You can also add groups that are not yet assigned to a specific set of learners. This allows you to plan your courses and their segmentation accordingly, regardless of whether you've already added learners to those specific groups.