/ Miscellaneous

Libraries and tools for enabling data-driven user-experiences on the web

Libraries and tools for enabling data-driven user-experiences on the web

Guess.js (alpha)

Libraries and tools for enabling data-driven user-experiences on the web.

Data-driven bundling

Install and configure GuessPlugin - the Guess.js webpack plugin which automates as much of the setup process for you as possible.

Should you wish to try out the modules we offer individually, the packages directory contains three packages:

  • ga - a module for fetching structured data from the Google Analytics API to learn about user navigation patterns.
  • parser - a module providing JavaScript framework parsing. This powers the route-parsing capabilities implemented in the Guess webpack plugin.
  • webpack - a webpack plugin for setting up predictive fetching in your application. It consumes the ga and parser modules and offers a large number of options for configuring how predictive fetching should work in your application.
    For non-Webpack users:

Data-driven loading

Our predictive-fetching for sites workflow provides a set of steps you can follow to integrate predictive fetching using the Google Analytics API to your site.

This repo uses Google Analytics data to determine which page a user is mostly likely to visit next from a given page. A client-side script (which you'll add to your application) sends a request to the server to get the URL of the page it should fetch, then prefetches this resource.

GitHub

CodeTea

A Nice collection of often useful examples done in HTML JavaScript CSS.

Read More