Migrating your SmartTarget in-process Web site extension to an Experience Optimization RESTful Web site extension

As part of your upgrade to SDL Tridion Sites, 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

  1. Follow the installation instructions for adding Experience Optimization to the SDL Tridion Sites API (RESTful) Server Role.
  2. 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.
  3. Copy the smarttarget_conf.xml you upgraded to the configuration location of your new RESTful Web site, overwriting the file already there.
  4. Open smarttarget_conf.xml for editing.
  5. Change the Analytics element so that it reads as follows:
    <Analytics implementationClass="com.sdl.web.experience.query.analytics.ClientAnalyticsManager" 
    timeoutMilliseconds="5000" trackingRedirectUrl="/redirect/" />
  6. Save and close smarttarget_conf.xml.
  7. 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.
  8. Restart your new RESTful Web site to apply your changes.