Overview

Installing Sprig allows you to monitor your customer's interactions and generate triggers to launch a Sprig Survey or Replay, so you can ask just the right question and capture just the right moments--all at just the right time.

Installing Sprig in your website or web app allows you to send Events and Attributes associated with users as they use your Website or Web App.

Installation Options

To launch a Sprig study on your Website or Web App, you'll need to install one of the following:

More Information

Performance

Performance is a critical part of any successful website, and Sprig ensures you can get deep insights about your users without sacrificing your siteโ€™s performance.

Files

The script is loaded asynchronously, so it does not impact website load times or scroll performance.

The Sprig JS SDK is broken up into 2 JS files: a controller and a view.

controller.js: 214 kB

The controller is responsible for keeping track of your users and your interface to track events and set attributes and identities. A vast majority of sessions are not shown studies, so we separated the view into a separate file, reducing data usage for your users.

view.js: 285 kB (users only download this when a study is presented to them)

The view contains the code to show the study and send the responses to Sprig.

Availability and load time

The Sprig client-side script is hosted on a leading global CDN powered by AWS CloudFront. This allows for the fastest load times by hosting the script as close to the users as possible.

Supporter browser versions

The Sprig client-side script is tested against all modern browsers, including:

  • Chrome, Firefox, and Safari - latest versions
  • Microsoft Edge 40+

๐Ÿ“˜

As Chrome and Firefox are on 6-week release cycles, best-effort support is given to older releases.

CPU Usage

Sprig adds minimal CPU overhead (less than 0.1%), leaving application responsiveness virtually untouched. Our cross-browser testing suite ensures that Sprig remains performant across all browsers.