xAPI Integrator for SLS Interactive Response Question "Scorable" HTML5

Upload an interactive ZIP (must contain index.html). This static tool will inject the working xAPI libraries and wiring in-browser, then give you a ready-to-upload ZIP. No server required.

Upload

Drag and drop your ZIP file here

or

The resulting ZIP will keep index.html at the root of the content folder and add lib/xapiwrapper.min.js + lib/xAPI.js. CSP-blocked GA/AdSense scripts will be removed by default (unless you check "Keep Google Analytics/AdSense scripts" below).

Mode

Timeline mode: Tracks button clicks, select changes, canvas drags, and auto-saves on Pause. Adds a floating "Save to SLS" button.
Quiz mode: Specialized for quizzes/assessments. Tracks each question attempt, answer selections, time per question, navigation patterns, and calculates scores. Provides detailed student performance analytics.
Minimal mode: Only injects xAPI libraries without additional tracking.
Experimental AI: Uses your own AI API key at integration-time (not in SLS) to generate a custom JavaScript snippet that can hook up your variables and scoring rules.

Options

Keep Google Analytics: By default, CSP-blocked scripts (GA, AdSense) are removed. Check to keep them.
Open in New Tab: Creates a launcher page. When clicked, the activity opens in a new tab/window but sends data back to the original tab to communicate with SLS.

How it works (expand)
  • Unzips your upload entirely in the browser (JSZip)
  • Finds the folder containing index.html (root, single subfolder, or shallow search)
  • Removes CSP-blocked GA/AdSense scripts
  • Injects and into your content’s head if missing
  • (This page itself loads vendor files from ./vendor/*.js)
  • Optionally injects a small instrumentation snippet (Timeline mode)
  • Adds vendored xAPI libs into lib/ in the ZIP
  • Re-zips and offers a download

Note: To load vendor libraries, this page should be served over HTTP(S). Opening via file:// may block fetch of local vendor files.

Requirements from SLS:

If these parameters are not present at launch, xAPI calls will be skipped by the integrated app.

Log