Step 6: Adding Experience Optimization to the Content Service

Add and configure Experience Optimization on the Content Service.

Procedure

  1. On your target machine, go to the services\ folder of the Content Service or Session-enabled Content Service root location.
  2. Create a new subfolder for Experience Optimization, such as experience-optimization\.
  3. On the installation media, go to the following location: Content Delivery\roles\xo\extension-content\rest\.
  4. Copy the entire contents to the new folder on your target machine that you created in step 2.
  5. On the installation media, go to Content Delivery\roles\xo\api\rest\java\config\.
  6. Copy the cd_client_conf.xml file to the configuration location of the Content Service or Session-enabled Content Service.
  7. Go to the following location on your installation media:

    extension-deployer\lib\

  8. Open cd_client_conf.xml for editing, and do the following:
    1. Find the of the DiscoveryService element, and set the ServiceUri attribute to the URL of the Discovery Endpoint.
    2. Find the TokenService element, and set the ClientId and ClientSecret attributes to the credentials needed to access the Endpoint.
    3. Save and close the file.
  9. (Optional) If publishing to a REL (Render Engine Language) rather than to JSP or .NET, do the following:
    1. Open cd_dynamic_conf.xml for editing.
    2. Find the <TCDLEngine> section and add the following new TagBundle element:
      <TagBundle Resource="smarttarget_renderers_bundle.xml"/>

      where the value of Resource is a relative or absolute path to the smarttarget_renderers_bundle.xml file, which contains Experience Optimization-specific tags.

    3. Save and close cd_dynamic_conf.xml.