Step 8: Setting up Experience Optimization in a .NET Web site

Copy .NET assemblies intended for Experience Optimization to your .NET Web site. The .NET Web site to which you add Experience Optimization resources must have the API (RESTful) Content Delivery Role installed.

Procedure

  1. Navigate to the bin\ subfolder of your .NET Web site.
  2. Copy the following DLLs from the SDL Web installation media folder Experience Optimization\Content Delivery\roles\api\rest\dotNet\bin\:
    • Sdl.Web.Experience.dll
    • Tridion.Smarttarget.dll
  3. From the installation media location Content Delivery\resources\samples\, copy the file smarttarget_conf.xml to the bin\config\ subfolder of your .NET Web site.
  4. In this target location, open smarttarget_conf.xml for editing.
  5. Ensure that the file contains the following line:
    <Analytics implementationClass="com.sdl.web.experience.query.analytics.ClientAnalyticsManager" timeoutMilliseconds="5000" trackingRedirectUrl="/redirect/"/>
  6. In the root folder of your .NET Web application, open Web.config for editing.
  7. Inside the pages section, in the controls section, add the following element:
    <add tagPrefix="smarttarget" namespace="Tridion.SmartTarget.Web.UI" assembly="Tridion.SmartTarget" />
  8. In the <handlers> section, add the following element:
    <add name="XO Experiment Tracking" path="/redirect/*" verb="*" type="Tridion.SmartTarget.Analytics.TrackingRedirect" resourceType="Unspecified" />
  9. Save and close Web.config.
  10. Restart the .NET Web application.