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
- Go to the machine where your Web site is running.
- Copy the P12 Key generated when you set up Google Analytics to the file system on this machine.
- Open the
smarttarget_conf.xmlconfiguration file in the classes or config subdirectory of your Web application and specify the location in the<PrivatekeyPath>element. - Access the SmartTarget installation media.
- 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
- Navigate to the directory Google Analytics Provider\third-party-lib and copy all the JAR files to the lib subdirectory of your Web application.