Step 4: Installing the Experience Optimization Management Service
Install the Management Service to enable communication between Content Manager and the Fredhopper Index Server. Have your Google Analytics settings ready.
Procedure
- On the SDL Web installation media, navigate to Experience Optimization\Content Delivery\roles\management\.
- Copy the contents of this folder to a folder of your choosing on your target machine (for example, a machine on which the Fredhopper Index Server runs).
- From your Content Delivery server, copy cd_licenses.xml into the config\ subfolder of your target folder.
- In the same folder, open smarttarget_conf.xml for editing.
- Find the
<IndexServer>section and set the value of theUrlsubelement to the value http://HOST:8180, where HOST is the host name of the machine on which the Fredhopper Index Server runs (localhostif you run both on the same server). - In the
Analyticssection, specify parameters for the analytics provider you specified in theimplementationClassattribute. If you chose the default Google Analytics provider, set values for the following subelements:Element Description of value ServiceAccountEmailAddressThe e-mail address you created in the Google Developers Console PrivatekeyPathThe full path and filename of the P12 key you created AccountIdThe ID of the Google Analytics account you created TrackingIdThe Tracking ID of the Google Analytics account ViewIdThe View ID of the view you created in Google Analytics - If you use the default Google Analytics provider, in the
CustomDimensionssubsection, also specify the IDs of the custom dimensions you created in the subelements:Element Description of value ExperimentIdExperiment IDInstanceIdInstance IDPublicationIdPublication IDPageIdPage IDRegionIdRegion IDComponentIdComponent IDComponentTemplateIdComponentTemplate IDChosenVariantChosenVariant - Save and close smarttarget_conf.xml
- In the configuration location of the Management service, open cd_storage_conf.xml for editing.
- Configure the
Storageelement to point to the Content Data Store (you can use the Content Deployer's cd_storage_conf.xml file as a reference). - Save and close cd_storage_conf.xml.
- On your target machine, from the bin\ subfolder, open a PowerShell prompt and run the following command:
& '.\installService.ps1' --auto-register