Skip to main content
Strigo Academy - Segmenting your audience

To make sure that different courses are available to different audiences

Nir Cohen avatar
Written by Nir Cohen
Updated over 2 years ago

Overview

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:

  1. You can upload a CSV file with a list of users and their groups.

  2. 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:

  1. Go to the Audience page at the top bar.

  2. Click "Add learners". You will then be prompted to upload a CSV (you can download the CSV template, modify it, and then upload it):
    โ€‹
    โ€‹

  3. Click Upload.

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"):
post("https://app.strigo.io/api/v1/academy/users/token", {
email: "jane.doe@somewhere.com",
name: "Jane Doe",
groups: ["Admins"]
})

This is how the user will then appear in Strigo:

Associate courses to learner groups

Courses and paths can either be:

  1. Public - available to all learners.

  2. Restricted - available only to users that belong to specified groups.

To restrict a course to specific groups of learners:

  1. Go to the Academy page in Strigo.

  2. Click the relevant course.

  3. Under "Settings | Access", choose "Restricted".

  4. Apply the relevant groups.

  5. 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.

Did this answer your question?