How to configure the TIBCO Spotfire Web Player for Google Analytics tracking.

How to configure the TIBCO Spotfire Web Player for Google Analytics tracking.

book

Article ID: KB0080309

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.0 and lower

Description

This article explains the settings to be changed on the TIBCO Spotfire Web Player in order to track your site using Google Analytics.

Issue/Introduction

How to configure the TIBCO Spotfire Web Player for Google Analytics tracking.

Resolution

  1. Log into the machine hosting the TIBCO Spotfire Web Player server using Administrator credentials.
  2. Modify the web.config file.
    1. Locate the web.config in the \webroot\ folder and open using a text editor.
      Example: C:\Program Files\TIBCO\Spotfire Web Player\6.5.0\webroot\web.config .
    2. Find the customHeader section in XML and set it to "true". This option will enable the header.htm file. If this option is not set, the tracking data will not be generated.
      Change from:

      <!-- Customize the header here. The file should be located in the App_Data directory. -->
      <customHeader enabled="false" fileName="Header.htm" height="40" />
      To:

      <!-- Customize the header here. The file should be located in the App_Data directory. -->
      <customHeader enabled="true" fileName="Header.htm" height="40" />
    3. Save the file.
  3. Modify the header.htm file.
    1. Locate header.htm under app_data folder and open using a text editor.
      Example: C:\Program Files\TIBCO\Spotfire Web Player\6.5.0\webroot\app_data\header.htm
    2. Add the script provided by Google Analytics.

 

 

Additional Information

TIBCO Spotfire Web player documentation: