Class SearchWordReferrerCriterion
Criterion for visitor groups that checks the referrer query string
Inherited Members
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class SearchWordReferrerCriterion : UriSessionStartCriterionBase<SearchWordModel>
Constructors
SearchWordReferrerCriterion()
Declaration
public SearchWordReferrerCriterion()
Properties
SearchPatternRegex
Gets the search pattern regex for search engines matches.
Declaration
public virtual string SearchPatternRegex { get; }
Property Value
Type | Description |
---|---|
System.String | The search pattern regex. |
SessionKey
Gets the session key.
Declaration
public override string SessionKey { get; }
Property Value
Type | Description |
---|---|
System.String | The cookie key. |
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.SearchWordModel>.SessionKey
Methods
GetUri(HttpContextBase)
Gets the request referrer URI from the http context.
Declaration
protected override Uri GetUri(HttpContextBase httpContext)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContextBase | httpContext | The HTTP context. |
Returns
Type | Description |
---|---|
System.Uri |
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.SearchWordModel>.GetUri(System.Web.HttpContextBase)
IsMatch(Uri)
Determines whether the specified URL referrer query match specified value.
Declaration
protected override bool IsMatch(Uri urlReferrer)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | urlReferrer | The URL referrer. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.SearchWordModel>.IsMatch(System.Uri)