Magidoc

TutorialAudience
Object

The audience rules that decide whether a published tutorial is eligible for a given user. All rules are ANDed together; unset rules place no restriction.

Fields

#

accountCreatedAfter

Only show to users whose account was created after this instant.

accountCreatedBefore

Only show to users whose account was created before this instant. This is the "existing users only" lever.

onlineWithinDays

Only show to users who have been online within this many days (based on their last authenticated request). Null places no restriction.

platforms

Restricts the tutorial to organisations on these eCommerce platforms. Null or empty means any platform.

staffAudience

Non-null

Restricts the tutorial by the acting user's Cloudshelf-staff status. Defaults to ALL.

startsOnPath

Only auto-start the tutorial when the user is on this manager route (matched as a path prefix). Evaluated client-side by the tutorial runner, not by server-side eligibility. Null places no restriction.

Usages

#

References

#