Disable marketing statistics

If we are not using the marketing statistics, we can disable the collecting of these statistics.


About this task

By disabling marketing statistics, we are stopping only the collecting and persisting of these statistics to the WebSphere Commerce database. Disabling any of these statistics does not affect the functionality of these marketing engine components. The evaluation of marketing triggers, actions, experiments, and branches are not affected. We can disable the following marketing statistics without affecting any marketing engine functionality:

Note: The SaveMarketingStatistics scheduled job, however, should not be disabled. If this job is disabled, then the following functions do not work:


Procedure

  1. Go to the workspace_dir/WC/xml/config/com.ibm.commerce.marketing-ext directory. If the com.ibm.commerce.marketing-ext directory does not exist, create the directory.

  2. In the com.ibm.commerce.marketing-ext directory, Open the wc-admin-component.xml marketing configuration file for editing. If this file does not exist, create the file and add the following code:

      <_config:DeploymentConfiguration
        xmlns:_config="http://www.ibm.com/xmlns/prod/commerce/foundation/config"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/foundation/config
        ../xsd/wc-admin-component.xsd">
        
        <_config:extendedconfiguration>
          <_config:configgrouping name="MarketingRuntime">
          </_config:configgrouping>
        </_config:extendedconfiguration>
        
      </_config:DeploymentConfiguration>

  3. Add the following to the wc-admin-component.xml, within the <_config:configgrouping name="MarketingRuntime"> section:

      <!--  Setting to stop collecting web activity statistics. Set to true if statistics should not be collected. -->
      <_config:property name="disableCollectingWebActivityStatistics" value="false"/>
      <!--  Setting to stop collecting dialog activity statistics. Set to true if statistics should not be collected. -->
      <_config:property name="disableCollectingDialogActivityStatistics" value="false"/>
      <!--  Setting to stop collecting search activity statistics. Set to true if statistics should not be collected. -->
      <_config:property name="disableCollectingSearchActivityStatistics" value="false"/>
      <!--  Setting to stop collecting experiment statistics. Set to true if statistics should not be collected. -->
      <_config:property name="disableCollectingExperimentStatistics" value="false"/>

  4. Change the corresponding value to be "true" for any activity types to stop collecting statistics about.

  5. Restart the server.


Results

The disabled statistics are no longer collected.


Related concepts
Marketing statistics: storage and update frequency


Related tasks
Enable the collection of marketing statistics in Management Center
Enable the collection of statistics for search rule experiments
Scheduling the DownloadStatistics job to copy marketing and search statistics
Copying marketing statistics from the production environment
Manage activity statistics


Related reference
Marketing performance tuning
Marketing cache design considerations