The SessionStack Developer Hub

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

Get Started    

Page Load

The SessionStack script will not delay the rendering or impact the interactivity of your page during load time.

Reduce Fetch Time

The SessionStack script is edge-cached on Cloudflare's CDN and typically takes under 20ms to fetch. This is very important because browsers will only allow a fixed number of outstanding resources requests at any given point in time. The faster this request completes, the faster it frees up slots for other requests in your page.

Asynchronous

Let's take a look at the following JavaScript tag:

<script src='sessionstack.js'>

JavaScript's semantics require that an inline script block the evaluation of the page until the script is fully loaded. We solve this issue by providing you with a very small script stub. This is important because the script element that encapsulates the stub, doesn't have a source which means that no loading happens.
The script sub contains code which loads the actual sessionstack.js script dynamically, guaranteeing that it's not loaded until the page is fully evaluated, and requests for all static resources in your page, such as CSS and images, have already begun.

Updated 8 months ago


What's Next

Runtime

Page Load


Suggested Edits are limited on API Reference Pages

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