To enable the Management Center Marketing tool and certain features that support
behavioral marketing, you must modify several parameters in the WebSphere Commerce configuration
file. You must also ensure that there is a mechanism in place to update the marketing registry each
time the marketing data is propagated from the authoring or staging database to the production
database.
Procedure
-
Open the WebSphere Commerce configuration file in a
text editor.
-
For sites that have migrated from WebSphere Commerce Accelerator marketing, change the
configuration file to point to the marketing services that support Management Center:
-
Find the
<Marketing>
element.
It looks like the following example:
<Marketing version="Classic"/>
-
Change the version attribute of the
<Marketing>
element so that the value
is Dialog
. If you set the version attribute to Dialog
, you must
use the Management Center Marketing tool for all marketing functions that it supports.
-
Enable the persistent sessions feature and personalization ID feature. These features are
required to support behavioral marketing.
-
Find the
<PersonalizationId>
element.
It looks like the following
example:
<PersonalizationId enable="false"/>
-
Ensure that the
enable
attribute is set to true
.
Depending on your site, this attribute might already be enabled, and require no change.
-
Find the
<PersistentSession>
element.
It looks like the following example:
<PersistentSession cookieExpiry="30" display="false" enable="true"/>
-
Ensure that:
-
Enable the following marketing listeners: the
SensorEventListener
and
ExperimentEvaluationEventListener
. These listeners must be enabled to support some
behavioral marketing features and to gather marketing statistics for marketing experiments:
-
Find the following string:
compClassName="com.ibm.commerce.marketing.dialog.trigger.SensorEventListener"
-
Below the string, ensure that the
enable
attribute is set to
true
, as shown in the following example:
<component
compClassName="com.ibm.commerce.marketing.dialog.trigger.SensorEventListener"
enable="true" name="SensorEventListener">
<property display="false">
<start enabled="true"/>
</property>
</component>
-
To improve performance, you can limit the
SensorEventListener
to monitor events raised
only by the stores module. Doing so causes events performed in
business tools on behalf of customers such as a CSR registering a
new user, or a CSR placing an order for a customer, to not be
handled by the marketing services for Management Center. To
do so:
- Search for the
<module
element that
contains the attribute
name="CommerceAccelerator"
.
- In the
<InitParameters
element, add the
attribute recordable="false"
. The
recordable
attribute removes event
listeners for each specified module that you are working with
that contains an InitParameters
element. You
can typically set this attribute for unused modules. It cannot
be set at the server level.
- Repeat the two previous steps for
<module
elements that contain the
attributes name="SiteAdministration"
,
name="OrganizationAdministration"
, and
name="WorkspaceAdministration"
.
-
Find the following string:
compClassName="com.ibm.commerce.marketingcenter.events.runtime.ExperimentEvaluationECEventListenerImpl"
-
Below the string, ensure that the
enable
attribute is set to
true
, as shown in the following example:
<component
compClassName="com.ibm.commerce.marketingcenter.events.runtime.ExperimentEvaluationECEventListenerImpl"
enable="true" name="Experiment Evaluation Event Listener">
<property display="false">
<start enabled="true"/>
</property>
</component>
-
Save your changes.
-
Propagate your changes to the WebSphere Commerce configuration
file.
-
Make sure there is a mechanism in place to update the marketing registry each time the
marketing data is propagated from the authoring or staging database to the production database using
the stagingprop utility. This additional step is required so that marketing changes display on the
production site after data propagation.