Documentation Center

Step 7: Adding Experience Optimization to the Content Service

Add Experience Optimization resources, Google Analytics resources and Cartridges to the Content Service.

Procedure

  1. In the services\ subfolder of your (Session-enabled) Content Service, create a new subfolder experienceoptimization\ and navigate to it.
  2. Copy the contents of the Experience Optimization installation media folder Content Delivery\roles\content\rest\ to this location.
  3. Copy the contents of the Experience Optimization installation media folder Content Delivery\roles\api\google-analytics-provider\lib\ to this location.
  4. Copy the contents of Content Delivery\Ambient Data Framework\cartridges\ to this location.
  5. Copy the P12 key that you generated when you created your Google Analytics account to this machine.
  6. Access the configuration location of your (Session-enabled) Content Service.
  7. Add the following Cartridge elements to the file cd_ambient_conf.xml:
    <Cartridge File="session_cartridge_conf.xml" />
    <Cartridge File="smarttarget_cartridge_conf.xml" />
  8. Copy the installation media file Content Delivery\roles\api\rest\config\cd_client_conf.xml to this location.
  9. In this file, set the ServiceUri attribute of the DiscoveryService element to the URL of the Discovery Endpoint, and set the ClientId and ClientSecret attributes of the TokenService element to the credentials needed to access the Endpoint.
  10. From the configuration location of the Query Service you installed previously, copy smarttarget_conf.xml to this location.
  11. In smarttarget_conf.xml, in the Analytics element, set the PrivatekeyPath attribute to the location of your Google Analytics P12 key on this machine.