Configuring a .NET website for Experience Optimization (deprecated in-process setup)

Merge the Web.config file from the installation media with the one on your website, and then edit it to specify namespaces. If you want to use the optional Experiments feature of Experience Optimization, you need to also add configuration for Experiment tracking.

Procedure

  1. Go to the following location on your Experience Optimization installation media:

    api\in-process\dotnet\

  2. Merge the Web.config file into the existing one in the root folder of your web application.
  3. Open web.config for editing.
  4. Locate the <controls> section, and add the subelements as shown:
    ...
      <pages>
        <controls>
          <add tagPrefix="tridion" namespace="Tridion.ContentDelivery.Web.UI" assembly="Tridion.ContentDelivery" />
    	   		<add tagPrefix="SmartTarget" namespace="Tridion.SmartTarget.Web.UI" assembly="Tridion.SmartTarget" />
        </controls>
      </pages>
  5. (Optional) If you want to use Experiments with your implementation of Experience Optimization, add the following <handlers> section to the file:
    <handlers>
    <add name="XO Experiment Tracking" path="/redirect/*" verb="*" type="Tridion.SmartTarget.Analytics.TrackingRedirect" resourceType="Unspecified" />
    </handlers>
    
  6. Save and close Web.config
  7. Restart the website.