jhorsman
4/10/2014 - 3:16 PM

SmartTarget tags example for SmartTarget 2011

SmartTarget tags example for SmartTarget 2011

<!-- Start Promotion Region: {"RegionID": "HomepageBanners" } -->
 	                        	<smarttarget:Query View="home" Publication="tcm:0-69-1" runat="server" SiteEditTagName="span"> 
	                        		<smarttarget:Facet Category="tcm:69-707-4" runat="server"></smarttarget:Facet> 
 
	                        		<smarttarget:Promotions MaxItems="1" Region="HomepageBanners" runat="server"> 
	                        			<ItemTemplate> 
	                        				<smarttarget:PromotionalItems runat="server"> 
	                        					<ItemTemplate>
<span>
<!-- Start Promotion: { "PromotionID": "<%# Eval("promotionID") %>", "RegionID" : "<%# Eval("region") %>"} -->
 
	                        							<tridion:ComponentPresentation runat="server" PageURI="tcm:69-6212-64" ComponentURI="<%# Eval(&quot;ComponentUri&quot;) %>" TemplateURI="<%# Eval(&quot;TemplateUri&quot;) %>"/> 
	                        					
<!-- End Promotion -->
</span>
</ItemTemplate> 
	                        				</smarttarget:PromotionalItems> 
	                        			</ItemTemplate> 
	                        			<FallbackContent> 
	                        				<tridion:ComponentPresentation runat="server" PageURI="tcm:69-6212-64" ComponentURI="tcm:69-2781" TemplateURI="tcm:69-6322-32"/> 
	                        			</FallbackContent> 
	                        		</smarttarget:Promotions> 
	                        	</smarttarget:Query> 
	                        
<!-- End SiteEdit Promotional Region -->