OnlineMarketingTransformationFunctions Class |
Namespace: CMS.OnlineMarketing
public class OnlineMarketingTransformationFunctions
The OnlineMarketingTransformationFunctions type exposes the following members.
Name | Description | |
---|---|---|
OnlineMarketingTransformationFunctions |
Name | Description | |
---|---|---|
ActivityLinkedToObject |
Returns if activity is linked to object of type given in parameter and codename given in second parameter.
| |
BelongsToAccount |
Returns true if contact belongs to specified account.
| |
ClickedLinkInNewsletter |
Returns true if the contact clicked link in specified newsletter.
| |
DidActivities |
Returns true if the contact did any/all of the specified activities.
| |
DidActivity |
Returns true if the contact did a specified activity.
| |
FilledFormFieldWithValue |
Returns true if the contact filled a form with the given field at least once so that the value contains expected value.
Also returns false for global contacts.
| |
FirstActivityOfType |
Returns contact's first activity of specified activity type.
| |
GetContactInfo |
Returns contact related with subscriber. If there is no known relation between contact and subscriber,
returns contact with the same email. In this case, if there is more contacts with the same email, selects the one with last logged activity.
| |
GetEmailDomain |
Returns e-mail domain name.
| |
GetLastNewsletterIssue |
Returns last newsletter issue that was sent to the contact of the state.
| |
GetScore |
Returns contact's points in specified score on current site.
| |
InteractedWithNewsletterIssue |
Returns true if the contact clicked link in the specified newsletter issue.
| |
IsFromCountry |
Returns true if the contact's country matches one of the specified countries.
| |
IsFromState |
Returns true if the contact's country matches one of the specified countries.
| |
IsInCommunityGroup |
Returns true if the contact is in any/all of the specified community groups (i.e. if any of the user assigned to the contact is in any/all specified community groups).
| |
IsInContactGroup |
Returns TRUE if the contact is in any/all specified contact group(s) on current site.
| |
IsInRoles |
Returns true if the contact is in any/all of the specified roles (i.e. if any of the user assigned to the contact is in any/all specified roles).
| |
LastActivityOfType |
Returns contact's last activity of specified activity type.
| |
LoggedIn |
Returns true if the contact logged in.
| |
OpenedNewsletter |
Returns true if the contact opened specified newsletter.
| |
PurchasedNumberOfProducts |
Returns true if the contact purchased specified number of products in last X days.
| |
PurchasedProduct |
Returns true if the contact purchased specified product or its variant.
| |
RegisteredForEvent |
Returns true if the contact registered for specific event.
| |
SearchedForKeywords |
Returns true if the contact did search (internal or external) for specified keywords in last X days.
| |
SpentMoney |
Returns true if the contact spent specified amount of money (counted by order total price in main currency) in last X days.
| |
SubmittedForm |
Returns true if the contact submitted specified form.
| |
SubscribedToNewsletter |
Checks whether contact is subscribed to the given newsletter. Check is made based on the contact's email address. If
there is a subscriber with the contact's email subscribed to the newsletter, it means contact is subscribed.
Performs check against the Unsubscription table to determine, whether the contact is unsubscripted from the newsletter or not.
| |
UnsubscribedFromAllEmails |
Returns true if the contact unsubscribed from all emails in the last X days.
| |
VisitedPage |
Returns true if the contact visited specified page.
| |
VotedInPoll |
Returns true if the contact voted in the poll.
|