In OrderCentral, admin users can control which components are visible to specific groups of portal users. This is done with Audiences.
An Audience is a group of users that matches certain criteria, for example:
- Dealer admins
- Dealers from a specific country
- Internal users
- Users with a specific profile
- Users with a specific role or user setting
After creating an Audience, you can use it to show or hide components on a page.
When to use Audiences
Use Audiences when not every portal user should see the same information or functionality.
Examples:
- Show a promotion block only to dealers
- Show onboarding instructions only to new users
- Show reporting components only to internal users
- Show approval functionality only to users with the correct role
- Show country specific information to users from a specific country
Important to know
An Audience only controls whether a component is visible on the page.
It does not replace user permissions or data access settings.
Use Audiences to personalize the user experience. Use permissions, roles and access settings to secure access to data and functionality.
Step 1: Open Experience Builder
- Log in as an admin user.
- Go to Setup.
- Search for Digital Experiences.
- Open All Sites.
- Find the OrderCentral site you want to update.
- Click Builder.
You are now in the Experience Builder for your OrderCentral portal.
Step 2: Open the page properties
- Navigate to the page where you want to show or hide a component.
- In the top bar, find the name of the page you are currently editing.
- Click the gear icon next to the page name.
- The Page Properties panel opens.
Step 3: Create or select an Audience
-
In the Page Properties panel, click the Audience icon
.png)
-
Create a new Audience or select an existing Audience.
-
Give the Audience a clear name.
Use a name that is easy to recognize later, for example:
Use a name that is easy to recognize later, for example:
Dealer AdminsInternal UsersDealers NetherlandsUsers with Order ApprovalNew Portal Users
Then define the criteria that determine which users belong to this Audience.
Possible criteria can include:
- User profile
- User fields, such as country, department or user type
- Roles
- Permission related settings, if configured in your environment
- Other available user attributes that can be used to identify the user
Save the Audience when the criteria are complete.
Step 4: Assign the Audience to a component
- Stay on the page in Experience Builder.
- Select the component you want to show or hide.
- Open the component settings.
- Assign the Audience that should be able to see this component.
- Save the change.
The component is now only visible to users who match the selected Audience.
Users who do not match the Audience criteria will not see the component.
Step 5: Publish the site
Changes in Experience Builder are only visible to portal users after the site has been published.
- Click Publish.
- Confirm the publication.
- Wait until the changes have been processed.
Step 6: Test the visibility
Always test the setup with at least two users:
- A user who should see the component
- A user who should not see the component
Check the following:
- The correct user can see the component
- Other users cannot see the component
- The user still has the correct permissions for the underlying data
- The behavior is still correct after logging out and logging in again
- The behavior is also correct in an incognito browser window
Example
You want to show an order approval component only to dealer admins.
To do this:
- Open the relevant page in Experience Builder.
- Click the gear icon next to the page name.
- Open the Audience settings from the Page Properties panel.
- Create an Audience called
Dealer Admins. - Set the criteria so that only dealer admins match this Audience.
- Select the order approval component on the page.
- Assign the
Dealer AdminsAudience to the component. - Publish the site.
- Test with a dealer admin and a regular dealer user.
The dealer admin sees the component. The regular dealer user does not see the component.
Troubleshooting
The user does not see the component
Check the following:
- Does the user match the Audience criteria?
- Is the user field used by the Audience filled correctly?
- Has the site been published after the change?
- Does the user have the required permissions?
- Has the user logged out and logged in again?
The user sees the component, but should not see it
Check the following:
- Is an Audience assigned to the component?
- Is the Audience too broad?
- Does the user match the Audience through another criterion?
- Is the same component also placed somewhere else on the page without an Audience?
- Is another page variation or component variation active?
The Audience icon is not visible
If the Audience icon is not visible in the Page Properties panel, your user may not have the required permissions to manage pages.
Contact your administrator or OrderCentral support.