您可以使用 Analytics api 来执行此操作:
var visit = Tracker.CurrentVisit;
foreach (var profile in visit.Profiles)
{
if (profile.ProfileName.ToLower() == "persona")
{
profile.UpdatePattern();
// get the matching pattern text
var matchingPattern = profile.PatternLabel;
}
}