Experience Optimization TCDL tag reference
This topic provides a list of the TCDL tags available for Experience Optimization.
TCDL tag libraries
Experience Optimization provides two sets of TCDL tags:
- If you have an ASP.NET or JSP website and your published content is to be retrieved by website visitors, transform TCDL during publishing to create ASP.NET or JSP code on your published webpage at request time.
- If you have a website that uses a different technology than ASP.NET or JSP (or if your published content is consumed by the Content Delivery web service), set your output format to
RELto transform TCDL at request time.
Syntax
The following example shows all of the Experience Optimization tags you can use:
<tcdl:region>
<tcdl:query>
<tcdl:search /> (deprecated)
<tcdl:attribute />
<tcdl:promotions />
<tcdl:items /> (deprecated)
</tcdl:query>
</tcdl:region>
Experience Optimization tags
Experience Optimization provides the following TCDL tags:
<tcdl:region>-
The
<tcdl:region>tag is the root node that encapsulates a Page Region in which Promotions returned by Elasticsearch are displayed. <tcdl:query>-
The
<tcdl:query>defines a query for retrieving content that is displayed in a Page Region.