Documentation Center

Installing Google Analytics Provider

Install the SmartTarget Google Analytics Provider on your Web sites and on your SmartTarget Web service. The Provider generates tracking code on-the-fly when an Experiment is displayed on a Web page.

About this task

You need to install the SmartTarget Google Analytics Provider:
  • on your (public-facing) Web sites to collect data
  • on your SmartTarget Web service to retrieve the statistics data displayed in the Targeting Dashboard

Procedure

  1. Go to the machine where your Web site is running.
  2. Copy the P12 Key generated when you set up Google Analytics to the file system on this machine.
  3. Open the smarttarget_conf.xml configuration file in the classes or config subdirectory of your Web application and specify the location in the <PrivatekeyPath> element.
  4. Access the SmartTarget installation media.
  5. Navigate to the directory Google Analytics Provider\lib and copy the following file to the lib subdirectory of your Web application:
    • smarttarget_google-analytics.jar
  6. Navigate to the directory Google Analytics Provider\third-party-lib and copy all the JAR files to the lib subdirectory of your Web application.