Add Experience Optimization Query TBB

The Add Experience Optimization Query Template Building Block (TBB) inserts a query to OpenSearch into your webpage, defining a query for retrieving content that is displayed in a Page Region.

You can add one or more Add Experience Optimization Query Template Building Blocks to a webpage. Each Add Experience Optimization Query TBB you add generates a separate query to OpenSearch.

In general, for performance reasons, we recommend limiting the number of queries generated. In many cases, one query is sufficient, but there are also cases where separate queries are useful.

The following table describes the attributes you can define for the Add Experience Optimization Query TBB.
AttributeDescription
Page Region*Specify the region in your webpage in which Experience Optimization content will be displayed.

The value must correspond with an id value specified in the <tcdl:region> tag of a Dreamweaver template exactly (Page Region values are case-sensitive).

Allow duplicates across regionsControls whether or not Experience Optimization filters out content items already displayed in preceding Page Regions on a webpage:
  • Use configuration—(the default) uses the site-wide settings defined in the Experience Optimization configuration file.
  • Yes—Promotions already in the output of preceding regions on this Page may also be displayed in this page region.
  • No—Promotions already output in preceding regions will be filtered out of the results.
Element IDSpecify a string identifier for the Server Control or custom tag generated (for server-side programming).
Timeout(ms)Specify the length of time, expressed in milliseconds, to wait for the result of the query to be received before fallback content is displayed in a Page Region.

If specified, the setting overrides the default timeout in the smarttarget_conf.xml file.

HTML tag for inline editingSpecify the HTML tag used to enclose the Targeted Region markup for Experience Manager. If no value is specified, the HTML <span> is used.