Documentation Center

Step 5: Adding Experience Optimization to Content Deployer

Add resources to your SDL Web Content Deployer Server Role, and update its configuration, in order to ensure that you can publish to Fredhopper. Then

Procedure

  1. On the Experience Optimization installation media, navigate to Content Delivery\roles\deployer\experience-optimization\.
  2. On the machine on which you run Content Deployer, navigate to the Content Deployer library folder.
  3. Copy all files from the installation media folder to the Content Deployer library folder.
  4. On the machine on which you run Content Deployer, navigate to the Content Deployer configuration folder.
  5. From the installation media folder Content Delivery\resources\samples\, copy smarttarget_conf.xml to the Content Deployer configuration folder.
  6. On the target location, open smarttarget_conf.xml for editing.
  7. In the <IndexServer> section, do the following:
    1. Set the value of the Url subelement to the value http://HOST:8180, where HOST is the host name of the machine on which the Fredhopper Index Server runs.
    2. In the Authentication subsection, specify valid values for the Username and Password subelements.
    3. In the Deployment subsection, set Location to the full path of the folder in which packages for Fredhopper should be placed, for example, c:/fredhopper/ExperienceOptimization/data/fas-xml-incremental/catalog01. Also, set InstanceName to the name you gave to your Index Server, and set KettleJobName to the filename of the Kettle job you placed in Fredhopper, that is, STJob.kjb.
  8. Save and close smarttarget_conf.xml.
  9. In the Content Deployer configuration folder, open cd_deployer_conf.xml for editing.
  10. Inside the <Processors> section, insert the following two Processor elements:
    <Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="post-transaction">
      <Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule">
        <Transformer Class="com.tridion.deployer.TCDLTransformer" />
      </Module>
    </Processor>
    <Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="post-transaction">
      <Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule" />
    </Processor>
  11. Inside the <TCDLEngine> section, add the following TagBundle element:
    <TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml" />