Merge the Web.xml file from the installation media with the one on your website. If you want to use the optional Experiments feature of Experience Optimization, you need to also add configuration for Experiment tracking.
Procedure
- Go to the following location on your Experience Optimization installation media:
- Merge the Web.xml file into the existing one in the root folder of your web application.
- Open Web.xml for editing.
- If you are using Experiments, add the following:
<!-- Experience Optimization Experiment Tracking -->
<servlet>
<servlet-name>Experience Optimization Experiment Tracking</servlet-name>
<servlet-class>com.tridion.smarttarget.analytics.tracking.TrackingRedirect</servlet-class>
<servlet>
<servlet-mapping>
<servlet-name>Experience Optimization Experiment Tracking</servlet-name>
<url-pattern>/redirect/</url-pattern>
<servlet-mapping>
- Save and close Web.xml
- Restart the website.