Configuring the Google Analytics connector

To enable the Google Analytics connector for use in web clients, you must create a new project in your Google Analytics instance to obtain the required ClientID and ClientSecret.

Procedure

  1. Log in to https://console.developers.google.com.
  2. Create a new project.
  3. Enable the Analytics API.
  4. Create credentials.
    This will provide you with a client ID and a client secret.
  5. Add the following hosts:
    • http://localhost:55931/authorize/code
    • http://localhost:55932/authorize/code
    • http://<spotfire_server>/spotfire/wp/oauth2/code
    To learn more about how to work with these settings, refer to the online help in the developer's console .
  6. Log in to Spotfire Analyst as a user with administrator rights.
  7. Click Tools > Administration Manager.
  8. On the Preferences page, click a group for which you want to enable Google Analytics connectivity.
  9. On the Preferences tab, expand Connectors and click GoogleAnalytics.
  10. Click Edit.
  11. In the ClientID field, add the client ID obtained in Step 4.
  12. In the ClientSecret field, add the client secret obtained in Step 4.
  13. In the LocalRedirectPorts field, enter 55931, 55932.
  14. In the Edit Preferences dialog, click OK.
  15. In the Administration Manager, click Close.
  16. For the settings to take effect, users must log out of Spotfire and then log in again.