Members
User groups
Groups of members, picked by hand or by their variables, that decide who sees pages, elements, overlays, actions and collection entries, with a welcome email when someone joins.
What a user group is
A user group is a set of the website's members. In the builder, user groups are called audiences: a page, an element, an overlay, a button's action and a collection entry can each be for one audience (entries for several). A website has up to 100 user groups.
In the app: Website › User Groups
Making a group
- Press Create Group. Give it a Group Name (required) and a Description.
- Allowed Users: search members by email and tick the ones who belong, if you pick them by hand.
- Required Custom Variables: press Add Variable Requirement, choose a variable from Member Variables, Registration Variables or Form Variables, and type the value it must have. Values must match exactly.
- Choose how the rules combine: Any rule (OR) or All rules (AND).
- Optional: Email members when they join this group, with a Subject (up to 200 characters) and a Message (up to 4,000). Press Create Group.
Who is in a group
- Exact values
- Pro and pro are different values; there is no greater than or contains.
- No rules
- A group with no allowed users and no variables matches nobody.
- Members only
- Visitors who aren't signed in are in no group.
- Always up to date
- Membership is worked out on every page a member opens, from their variables then.
| Match mode | A member is in the group when |
|---|---|
| Any rule (OR) | They are one of the allowed users, or every required variable has its value. |
| All rules (AND) | They are one of the allowed users and every required variable has its value. |
Groups every website can use
Every signed-in member has three values Siteho keeps for you: userEmail, isUserEmailVerified (true or false) and isUserMfaEnabled. A blank website starts with four groups built on them: Email verified, Email not verified, Two-factor enabled and Two-factor disabled.
The welcome email
Sent in the website's name, with a button to visit the website, when a member newly joins the group because a manager changed their variables, or added them by hand. It isn't sent when the group is first made, or to members who were already in it. The website's first notification email is named as the contact.
A Pro members group
Worked example: Pro members by plan
- Member Variables: add Plan (CVUserPlan), default Free.
- Create Group: Pro members, Required Custom Variables CVUserPlan = pro. Welcome email: Welcome to Pro.
- When a member pays you, set their CVUserPlan to pro in Members › Edit Variables: they join and get the email.
- Make the /pro page One audience only › Pro members, and give the course button a branch for them.
Ideas to try
- A Staff group of hand-picked members with an internal notices page.
- A Verified only group (isUserEmailVerified = true) for posting in a members' area.
- Groups per city or chapter, each with entries of a shared events collection.