Implementation Steps - Step 2: Save files to the Web Server

This is “first-party” code meaning it’s hosted by the client. In the majority of implementations it is a requirement that the files be hosted on the domain being measured. There are some exceptions to this rule and if hosting on a separate domain is a requirement please read the following section (instructions here).

The files in the .zip file are typically packaged in a folder called /foresee/ (all lower case). Extract the /foresee/ folder from the .zip file and save to the web server so that the files are available at: www.[]/foresee/. If the files are placed in a different location, the ‘files’ path within the JavaScript code must be revised accordingly (instructions here).

Other articles in this section:

  1. Step 1: Receive survey trigger code
  2. Step 2: Save files to the Web Server (current article)
  3. Step 3: Add script tag to site
  4. Step 4: Testing Behavior and Presentation