OnlineMarketingTransformationFunctions SearchedForKeywords Method Kentico 8.0 API Reference
Returns true if the contact did search (internal or external) for specified keywords in last X days.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

contact
Type: OnlineSystem Object
Contact the activities of which should be checked
keywords
Type: OnlineSystem String
Keywords separated with comma or semicolon (if null or empty, than method returns true iff contact did any search in last X days)
lastXDays
Type: OnlineSystem Int32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
allKeywords
Type: OnlineSystem Boolean
If true all keywords has to be matched, if false at least one match has to be found

Return Value

Type: OnlineBoolean
See Also