The Acoustic Analytics Developer Hub

Welcome to the Acoustic Analytics developer hub. You'll find comprehensive guides and documentation to help you start working with Acoustic Analytics as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Web server configuration for the UI Capture JavaScript

To configure the Web server where the Acoustic Experience Analytics (Tealeaf) UI Capture JavaScript file will be deployed, you define settings for compression and caching.

Compression

For optimal performance, compress the Acoustic Experience Analytics (Tealeaf) JavaScript on your web server.

  • Configure the web server to perform compression encoding of the response data before it is sent back to the browser, which decompresses it for use on the client.
  • Apply compression encoding to static text content, including the Acoustic Experience Analytics (Tealeaf) JavaScript file.

Note: Since this behavior is negotiated between server and client, an HTTP 1.1-compliant web server must not use any compression encoding unless the client indicated support of it by a Request Header (Accept-Encoding).

This form of compression further reduces the file sizes of minified Acoustic Experience Analytics (Tealeaf) JavaScript by approximately 75% before delivery to the client.

Browser caching

For browser caching configuration, follow these guidelines.

  • Set the TTL values for the Expires or Cache-Control headers for the Acoustic Experience Analytics (Tealeaf) JavaScript to the same value as the rest of the scripts that are stored on the web server.
  • Take advantage of the conditional GET feature of HTTP 1.1 by configuring your web server to set the appropriate ETag or Last-Modified headers. When this feature is enabled, any change to the JavaScript resources is automatically propagated to the visitor's cache.

For more information, see these industry resources:

IIS configuration

On Windows Server 2003, put the Acoustic Experience Analytics (Tealeaf) UI Capture files in a directory with the other JavaScript file to comply with the "Script source access" setting in the configuration.

For more information about configuring IIS, see http://support.microsoft.com/default.aspx?scid=kb;en-us;313075

Non-IIS web server configuration

For a non-IIS server, a dynamic web page must be created to accept the POST from the Acoustic Experience Analytics (Tealeaf) UI Capture JavaScript. The contents of the web page vary based on the deployed technology.

The contents of the returned UI Capture JavaScript POST requests are irrelevant. To minimize bandwidth, minimize the return contents.

Updated 26 days ago


Web server configuration for the UI Capture JavaScript


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.