Skip to content
Inspectlet in an easy to use package
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
.gitignore
.versions
README.md
inspectlet.js
package.js

README.md

Meteor Inspectlet

Wrapper around Inspectlet, a service that enables you to record the actions user take on your site and play them back later.

Features

Inspectlet lets you playback everything visitors do on your site so you can learn about how your app is being used.

Find out more / Sign up for a free account

Click Heatmaps

Mouse movement Heatmaps

Scroll Heatmaps

Find out more / Sign up for a free account

Installation

meteor add xolvio:inspectlet

and set your site id in the Meteor settings like this:

{
  "public": {
    "inspectlet": {
      "id": "1234567890"
    }
  }
}

Usage

This package wires up Inspectlet into the Meteor lifecycle as follows:

  • Inspectlet is loaded from CDN on startup
  • If IronRouter is detected, virtualPageViews are tagged
  • Logged in users are identified and their name + emails are sent
  • The platform is sent to distinguish between a web or cordova Meteor build

The package also exposes an Inspectlet object on the client. This is the same as the __insp object in the docs. You can use this to push and to do so in a chained fashion, for example you can write:

Inspectlet
  .push(['myVar', '1234'])
  .push(['anotherVar', '456']);

See the full Inspectlet documentation.

You can’t perform that action at this time.