As part of your upgrade to SDL Web, your organization may have abandoned the deprecated API (in-process) Server Role on your Presentation Server in favor of the new, service-based, API (RESTful) Server Role. If so, you need to replace your in-process SmartTarget extension with the new RESTful one.
Procedure
- Follow the installation instructions for adding Experience Optimization to the SDL Web API (RESTful) Server Role.
- Check any SmartTarget configurations and customizations you applied to your Web.config file (if using .NET) or your web.xml file (if using Java/JSP) in your in-process extension, and reapply them to the Web.config or web.xml of the RESTful Web application.
- Copy the smarttarget_conf.xml you upgraded to the configuration location of your new RESTful Web site, overwriting the file already there.
- Open smarttarget_conf.xml for editing.
- Change the
Analytics element so that it reads as follows:
<Analytics implementationClass="com.sdl.web.experience.query.analytics.ClientAnalyticsManager"
timeoutMilliseconds="5000" trackingRedirectUrl="/redirect/" />
- Save and close smarttarget_conf.xml.
- Also copy smarttarget.referrers.xml form the configuration location of the old in-process Web site to the configuration location of your new RESTful Web site, overwriting the file already there.
- Restart your new RESTful Web site to apply your changes.