Add Experience Optimization Query

The Add Experience Optimization Query Template Building Block inserts a Fredhopper query into your Web page 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 Web page. Each Add Experience Optimization Query TBB you add generates a separate Fredhopper query. In general, for performance reasons it is recommended to limit the number of queries generated and in many cases one query is sufficient. However, if you want to for example generate navigation links in one Page Region and Promotions in another, it makes sense to use separate queries.

You can define the following attributes for Add Experience Optimization Query:
AttributeDescription
Page Region*Specify the region in your Web page in which Experience Optimization content is 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 regions1Controls whether or not Experience Optimization filters out content items already displayed in preceding Page Regions on a Web Page:
  • Use configuration—(the default) uses the Web site-wide settings defined in the Experience Optimization configuration file.
  • YesPromotions already in the output of preceding regions on this Page may also be displayed in this page region.
  • NoPromotions 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.