Wednesday, March 16, 2016

Best Seller And Top Browsed ESpot in Websphere Commerce Server

Follow the steps to mentioned below to show the Best Seller and Top Browsed espot.


  1. Enable the persistent sessions feature and personalization ID feature. These features are required to support behavioral marketing.
    1. Find the <PersonalizationId> element. It looks like the following example:
      <PersonalizationId enable="false"/>
    2. Ensure that the enable attribute is set to true. Depending on your site, this attribute might already be enabled, and require no change.
    3. Find the <PersistentSession> element. It looks like the following example:
      <PersistentSession cookieExpiry="30" display="false" enable="true"/>
    4. Ensure that:
      • The enable attribute is set to true.
      • The cookieExpiry value is a positive number. This number represents the number of days sessions are persisted for a customer.
        To enable persistent sessions, change set the cookieExpiry value to a positive number.
  2. Enable the following marketing listeners: the SensorEventListener and ExperimentEvaluationECEventListener. These listeners must be enabled to support some behavioral marketing features and to gather marketing statistics for marketing experiments:
    1. Find the following string:
      compClassName="com.ibm.commerce.marketing.dialog.trigger.SensorEventListener"
    2. Below the string, ensure that the enable attribute is set to true, as shown in the following example:
    3. <component
    4.     compClassName="com.ibm.commerce.marketing.dialog.trigger.SensorEventListener"
    5.     enable="true" name="SensorEventListener">
    6.     <property display="false">
    7.         <start enabled="true"/>
    8.     </property>
      </component>
    9. Find the following string:
      compClassName="com.ibm.commerce.marketingcenter.events.runtime.ExperimentEvaluationECEventListenerImpl"
    10. Below the string, ensure that the enable attribute is set to true, as shown in the following example:
    11. <component
    12.     compClassName="com.ibm.commerce.marketingcenter.events.runtime.ExperimentEvaluationECEventListenerImpl"
    13.     enable="true" name="Experiment Evaluation Event Listener">
    14.     <property display="false">
    15.         <start enabled="true"/>
    16.     </property>
      </component> 


  3. Create an Emarketing spot to show the best selling/ top browsed items based on the info center link http://www.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.ibm.commerce.management-center.doc/concepts/csbactdisbestsell.htm?lang=en
  4. Run the RaiseECEvent scheduled job(This might not be required in case top browsed items list) using Admin Console. When a customer places an order, the RaiseECEvent job asynchronously check whether the categories associated with the purchased products match against any of the defined Display Best Sellers Web activities.
  5.  Once a day, when the SendMarketingTriggers scheduled job runs (at the time set in dailyScheduledJobTimeForTriggers parameter), the DMRANKINGSTAT entries are summarized and entries are created in the DMRANKINGITEM table.
  6.  For developer version, Run the SQL query to make sure that SendMarketingTrigger job will take all the DMACTIVITY_IDs those are there in the DMARKETINSTAT table. 

             DELETE FROM DMACTATTR WHERE DMACTIVITY_ID = 0 OR DMACTIVITY_ID =

        (SELECT DMACTIVITY_ID FROM DMACTIVITY WHERE NAME = '')


No comments:

Post a Comment