The Targeted Content widget can evaluate the following information about a page's site visitor.
The Targeted Content widget lets you personalize your site visitors' experience by providing content that matches their interests, thereby placing your site information in the context of your users. For example, the search keywords used to find your site might determine the best offer to show a prospect. Or, site members might explicitly state their interests by adding to their user profile or filling out a survey.
In both cases, the Targeted Content widget ensures the delivery of the right experience to compel each site visitor to take action. The widget lets you gather information from each interaction, and use that information to direct visitors to content that relates to their specific interests.
Targeting content is as easy as building an email rule in Microsoft Outlook, or a playlist in Itunes. Each widget consists of one or more conditions. Each condition can have one or more criteria. For example, a condition may stipulate that the URL parameter terms
contains either "pizza" or "Italian."
After assigning conditions to a Targeted Content widget, you assign one or more widgets to it. The widgets appear on the page only if a condition evaluates to true. To continue the example, if the page has a URL parameter that contains "pizza," display a Taxonomy Summary widget showing content to which the taxonomy category "pizza" is assigned.
You can assign any number of conditions to the Targeted Content widget. As soon as one is true, its associated widgets appear, and any remaining conditions are ignored.
http://www.mystore.com/product.aspx?cid=gold
. In the Targeted Content widget, you set the condition URL Parameter CID contains gold. If condition = true, Targeted Content widget displays a ContentBlock widget that promotes Gold necklaces
If condition = true, Targeted Content widget displays a WebCalendar widget that lists upcoming NASCAR races
If condition = true, Targeted Content widget displays a TaxonomySummary widget that lists all couches and the discounted price
If condition = true, Targeted Content widget displays an Activity Stream widget, set up as follows:
ObjectID
= ID of the Engineering group FeedType
= Community GroupIf condition = true, Targeted Content widget displays a TaxonomySummary widget that lists all content assigned to the category Restaurants > Pizza.
If condition = true, Targeted Content widget displays a ContentBlock widget that promotes Sony products.
See Also: Ektron webinar Hands on with the Content Targeting Widget
There are 2 aspects to editing a condition within a Targeted Content widget.
NOTE: This assumes you are on the PageBuilder page that contains the widget and in Edit mode.
See also Using Multiple Criteria in a Condition and Creating Conditions with the Targeted Content Widget
NOTE: This assumes you are on the PageBuilder page that contains the widget and in Edit mode.
Prerequisite: The Targeted Content widget must be on the list of widgets assigned to the page's template. See Also: Adding the Wireframe and Widgets into Ektron
Criterion | Use this criterion to specify widgets that will appear if |
| |
Referring URL | The referring host matches a string value (for example, www.example.com). This is helpful for determining the site from which a visitor came to your site, such as a Facebook fan page. |
The current page contains the specified URL parameter. For example, you create a campaign selling gold jewelry and base its content on the URL parameter If the URL of the page that hosts the Targeted Content widget contains | |
A cookie matching the specified pattern is found on the site visitor's computer. Cookies are generally stored as name value pairs, such as UserID— A9A3BECE0563982D. When checking for a cookie, you complete 3 fields.
For example, if a certain campaign placed cookies beginning with A9A, you would set up the criterion like this: NOTE: The cookie criterion does not support subkeys, such as | |
Device Configuration | The user's device matches a Device Configuration that you specify. For example, a content block displays only if a user accesses your Web site with a Smart Phone. To learn about Device Configurations, see Separating Content from Presentation and Supporting Mobile Devices. |
Logged in | The user is or is not logged in. |
NOTE: Only applies to logged-in users. User is member of an Ektron User or Membership Group that you select from drop-down list.See Also: Membership Users and Groups, Managing User Groups | |
NOTE: Only applies to logged-in users. User is a member of an Ektron Community Group that you select from drop-down list.See Also: Managing Community Groups | |
NOTE: Only applies to logged-in users. The value of the logged-in user's custom property satisfies the logic for the value you specify. See Also: Custom User Properties Example: Zip code is a Custom User Property. You want to display a list of stores in New Hampshire for users whose Zip Code begins with 03. Condition / result Zip code = 03458 true Zip code = 02103 false | |
The actual date (according to the Web server's clock) and a date you enter satisfy the specified logic. Logic operators:
Examples: Assume today's date is 2010-01-01 Condition / result Date = 2010-01-01 true Date < 2010-01-01 false Date >= 2009-12-01 true | |
The current day (according to the Web server's clock) satisfies the specified logic. Logic operators:
Examples: Assume today's date is 2010-03-01 (Monday) Condition / result Day of week is Monday true Day of week is Tuesday false Day of week is not Tuesday true | |
The actual date (according to the Web server's clock) and a date you enter satisfy the specified logic. Logic operators:
Examples: Assume today's date is 2010-03-01 (Monday) Condition / result Day of month is 01 true Day of month is not 01 false Date >= 2009-12-01 true | |
The actual hour (according to the Web server's clock) and number between 1 and 23 you enter satisfy the specified logic. The numbers are based on a 24 hour clock so, for example, 5 p.m. is 17. Logic operators:
Examples: Assume current time is 18:30:00 Condition / result Hour of day is 18 true Hour of day is 23 false Hour of day >= 12 true | |
User Regional Info | Enter the user's country or state, or both. State selections are limited to states in the United States. This information is retrieved from the IP address of the person who is using your Web site. To retrieve this information, see Using GeoIP Information in the Targeted Content Widget. |
Facebook Info | If the criterion matches information in the user's Facebook profile, display the widgets inserted into this condition. For example, if the criterion is Marital Status is Single and the user's Facebook Profile matches that value, display the assigned widgets.This criterion only works with users who log in via Logging in through Facebook. You can apply any of these facebook fields.
Use Contains with Free Text Fields On fields that use free text (such as Likes), you should use the contains operator, as opposed to is or is not. Contains is more flexible and finds a partial match. For example, if the user likes U.S. Soccer and you enter the term soccer and the contains operator, a partial match is made, so the user sees the related widget. On the other hand, if the user likes U.S. Soccer and you enter the term soccer and the is operator, an exact match is not made, so the user does not see the related widget. The Likes Field The Likes field lets you search through users' Facebook profile Likes and Interests. Or, you can narrow it down to a specific like/interest. For example, you could display a widget promoting Red Sox merchandise if, in their Facebook profile, users like a Sports Team that contains Red Sox. |
Otherwise | No condition evaluates to true. NOTE: You would typically use this criterion last, since it always evaluates to true. Any conditions below this are ignored. |
See Also: Widget Reference
Any condition can have several criteria joined by and an AND operator.
In this example, all conditions must be true for the widgets assigned to this Target Content widget to appear.
If any of these condition is not true, the next condition assigned to the widget is evaluated, if one exists.
If all conditions are true, the widgets assigned to this Targeted Content widget appear. Additional conditions assigned to this widget are ignored.
You can also specify an OR relationship among criteria in one condition. To do so, click +or below any condition (circled below), then enter the OR condition.
For example, assume you want the time zone criteria to include Eastern Time and Pacific Time (but not in between).
Each set of criteria is evaluated independently. If any criteria set is true (that is, all of its statements are true), the widgets assigned to this Targeted Content widget appear. Additional conditions assigned to this widget are not evaluated. If none of the criteria sets is true, the next condition assigned to the widget is evaluated, if one exists.
To create a custom version of the Targeted Content widget (for example, to add rule templates):
siteroot/widgets/Edit TargetedContent.ascx.cs
file. MyRuleTemplate
, that inherits Ektron.RuleEditor.RuleTemplate
in #region Rule Templates
.private void AddAllRuleTemplates.
AddRuleTemplate(new MyRuleTemplate());