Configuring cd_ambient_conf.xml

The cd_ambient_conf.xml file is the Ambient Data Framework configuration file. You need to configure the Ambient Data Framework to use the cartridges provided with Online Marketing Explorer and optionally cookie and security settings.

About this task

Online Marketing Explorer is shipped with the following cartridges which plug into the Ambient Data Framework:

  • The Tracking cartridge gathers various data about Web site visitors, such as what pages they are viewing and links they have clicked.
  • The SmartTarget Tracking cartridge gathers data about SmartTarget Promotions, the SmartTarget Page Regions in which they are displayed, and Promotional items viewed.

Procedure

  1. Open the cd_ambient_conf.xml file in a text editor:
    • In a Java Web application, the file is located in the classes subdirectory of your Web application.
    • In a .NET Web application, the file is located in the config subdirectory of your Web application.
  2. In the <Cartridges> section, specify the cartridge configuration XML files:
    <Cartridges>
      ...
      <Cartridge File="/tracking_cartridge.xml"/>
      <Cartridge File="/smarttarget_tracking_cartridge.xml"/>
    </Cartridges>
  3. In the <Cookies> section, add the following:
    <Cookie Type="Tracking" Name="TAFTrackingId" Path="/" />
    <Cookie Type="Session" Name="TAFSessionId" Path="/" />
  4. Save and close the file.
  5. Restart your Web application server.