Integrate a store with multiple analytics providers

WebSphere Commerce provides you with the option to use multiple analytics providers for one store, allowing for greater data collection and accuracy of shopper activity. As a result, we can compare and analyze multiple sets of data from different analytics providers.

In your biConfig.xml configuration file, we can specify multiple analytics providers. This means that we can include analytics tags from multiple analytics providers in the store pages. When you specify multiple analytics providers, we must also include the additional analytics provider in the store JSP files, unless you set a default analytics provider.


Setting a default analytics provider

In the biConfig.xml configuration file, we can define a default analytics provider. This configuration can save you time if the store pages already contain a set of analytics tags.

For example, if your pages are already tagged with analytics tags for , we can specifyIBM Digital Analytics as your default analytics provider. Then, you do not need to go into each tag for IBM Digital Analytics in the store JSP files and add this parameter: biprovider="coremetrics". However, add the biprovider parameter to each tag in the store JSP files for the additional analytics providers to distinguish those tags from your default provider tags. The following steps outline the step-by-step process used to specify an analytics provider:

  1. Use the provider specified in the analytics tag.

  2. If no provider is explicitly specified in the analytics tag:

    1. Use the default provider set in the biConfig.xml configuration file for the store.

    2. If there is no default provider configured and only one provider is configured in the biConfig.xml configuration file, use that provider.

    3. If there is no default provider set, and no provider is specified in the biConfig.xml configuration file, use "coremetrics".

To integrate a store with multiple analytics providers, including setting up a default analytics provider, complete these steps: